diff --git a/bin/x86_64-unknown-redox-llvm-config b/bin/x86_64-unknown-redox-llvm-config index 766e8554847baa55b37dab0fe2dee6b412dd6932..642e9e52d3cd3df254fd47a871ca78a58ff82d65 100755 --- a/bin/x86_64-unknown-redox-llvm-config +++ b/bin/x86_64-unknown-redox-llvm-config @@ -111,7 +111,7 @@ elif args == ["--ldflags"]: elif args == ["--libdir"]: print(prefix + "/lib") elif args == ["--system-libs"]: - print("-lpthread -lm") + print("") elif args == ["--targets-built"]: print("X86") elif args[0] == "--libs": diff --git a/recipes/cairodemo/recipe.sh b/recipes/cairodemo/recipe.sh index ff3125fb4f48d8ea3759ea4d768aaa72ab9b17af..c720d9e51e4c85908e73d9872bbf84882feae15b 100755 --- a/recipes/cairodemo/recipe.sh +++ b/recipes/cairodemo/recipe.sh @@ -21,7 +21,7 @@ function recipe_build { export LDFLAGS="-L$sysroot/lib" export CPPFLAGS="-I$sysroot/include" set -x - "${CXX}" -I "$sysroot/include" -L "$sysroot/lib" cairodemo.c -o cairodemo -lorbital -lcairo -lpixman-1 -lfreetype -lpng -lz -lm + "${CXX}" -I "$sysroot/include" -L "$sysroot/lib" cairodemo.c -o cairodemo -lorbital -lcairo -lpixman-1 -lfreetype -lpng -lz set +x skip=1 } diff --git a/recipes/newlibtest/recipe.sh b/recipes/newlibtest/recipe.sh index 9dac27feec38efc7689da5dff4903886e7bd7722..d1d549d9d8d84b3c429e6babd55a0988731959f4 100644 --- a/recipes/newlibtest/recipe.sh +++ b/recipes/newlibtest/recipe.sh @@ -15,7 +15,7 @@ function recipe_build { sysroot="$(realpath ../sysroot)" export CFLAGS="-static -nostdinc -I $sysroot/include -I /usr/lib/gcc/x86_64-unknown-redox/7.0.1/include/ -nostdlib -L $sysroot/lib" export CRT="$sysroot/lib/crt0.o" - export CLIBS="-lc -lm" + export CLIBS="-lc" make all -j"$(nproc)" skip=1 } diff --git a/recipes/perl/recipe.sh b/recipes/perl/recipe.sh index d2d41986c3033dff6a66a8c211913c90931d64e9..0d3f6f102b4ad8e0a83a5a849477ac91bf313ffa 100644 --- a/recipes/perl/recipe.sh +++ b/recipes/perl/recipe.sh @@ -22,7 +22,7 @@ function recipe_build { sed -i "s/^#define Netdb_name_t.*/#define Netdb_name_t const char*/" config.h # XXX sed -i 's/#define Strerror(e).*$/#define Strerror(e) strerror(e)/' config.h # echo "#define HAS_VPRINTF" >> config.h - make LIBS=-lm -j"$(nproc)" + make -j"$(nproc)" skip=1 }