mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Instead, we now link to the libm system math library where needed by adding -lm to the relevant compile commands in the Mamfiles. This is not needed on every system but never does any harm. (This adds more custom edits to the Mamfiles, which were originally generated from the nmake Makefiles. This takes us further from restoring nmake, but that already wasn't going to happen anyway, due to its many problems... the path forward will be to translate the Mamfiles to some other, current make system such as GNU make.) bin/package, src/cmd/INIT/package.sh: - Remove LDFLAGS=-lm hack for DragonFly BSD, NetBSD and Solaris. src/cmd/builtin/Mamfile, src/cmd/ksh93/Mamfile, src/lib/libdll/Mamfile: - Add -lm where linking failed on any of the three mentioned OSs. src/lib/libdll/features/dll: - In the output test program, add missing #include <math.h>, fixing unknown identifier errors on NetBSD (ldexp, ldexpl). src/cmd/builtin/features/pty: - Add missing #include <stdio.h> to make printf work on all systems (this is just a feature test, no need to bother with sfio here). src/lib/libast/features/stdio: - Undef __FILE_T to avoid interference from system headers on QNX. (There are still other problems preventing a build on QNX 6.5.0. The shipped version of gcc seems to be broken.) |
||
---|---|---|
.. | ||
ignore | ||
mamprobe | ||
package | ||
shtests | ||
silent |