Commit Graph

2208 Commits

Author SHA1 Message Date
christos ad3b972d11 ignore all -std=gnu patterns not just 99 2013-11-01 17:07:37 +00:00
mrg 94542b393a create mkdep output with a temporary file so that failures in
complation during .d creation don't leave an empty (stale) .d
file around to break future builds.

(hmm, probably could use .PRECIOUS here.)
2013-10-31 01:55:03 +00:00
joerg 3292fd4145 Unbreak src/tools usage of C++. 2013-10-29 16:11:46 +00:00
mrg 27d21cc6e9 add MKDEPCXX, that is used for C++ files depend creation. also
add some missing ${COPTS.${.IMPSRC:T}} and ${CPUFLAGS.${.IMPSRC:T}}
to the dependancy rules.

this makes it possible to have C++ files .d files created with the
C++ compiler, and with the normal options for this file, which
means that we can build libstdc++-v3 from gcc 4.8.
2013-10-28 01:47:13 +00:00
mrg 0b5b0997ae define a HOST_LINK.cc always. 2013-10-26 03:26:57 +00:00
apb e0db893163 Rename _MNUMBERS to _MSECTIONS. The manual section identifiers
are not just numbers any more.

Also introduce a new variable, _MSECTIONREGEX, as a regular expression
to match any of the elements of ${_MSECTIONS}.  Use this instead of
\.[1-9][a-z]*.
2013-10-25 22:16:29 +00:00
apb f0bdf85100 Recognise .3lua and .9lua as man page extensions. Source
files like foo.3lua will result in installed files like
/usr/share/man/man3lua/foo.3lua, /usr/share/man/cat3lua/foo.0,
and /usr/share/man/html3lua/foo.html.
2013-10-25 10:45:01 +00:00
christos 67ff86e929 change if HAVE_GCC is defined 2013-10-18 16:06:52 +00:00
joerg aa6e9499ca Rename USE_LIBGCC to HAVE_LIBGCC and retry using it as flag on unwind.h. 2013-10-14 16:00:16 +00:00
joerg d06922ddf4 Include compiler-rt and libunwind in libc for Clang/x86 builds. 2013-10-14 01:30:21 +00:00
christos 986a0d2f80 Add libxcb 2013-09-29 14:36:25 +00:00
joerg 5f3aa2dbae Hook up initial build infrastructure for LLDB. Update LLVM/Clang
snapshot to r191390 for some required changed. Re-enable static analyzer
in Clang.
2013-09-29 12:11:59 +00:00
pooka 2b0409d3df Make it possible to specify a directory for the .ioconf file.
Still default to .CURDIR
2013-09-20 16:39:14 +00:00
martin 52514ad340 When compiling kernel modules on sparc64 force the same memory model as
we force for the kernel (i.e. do not rely on compiler defaults here)
2013-09-18 09:25:20 +00:00
joerg 36a6d19157 Handle dependency on libstdc++ / libc++ in bsd.lib.mk. 2013-09-12 17:14:20 +00:00
joerg 4d12bfcd15 Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
vs big PIC mode. Retire -DPIC and -DBIGPIC.
2013-09-12 15:36:14 +00:00
joerg 975a152cfc If a library needs a symbol from another library, pull that library in
explicitly, even if the DT_NEEDED closure would normally already ensure
the presence.
2013-09-11 23:04:09 +00:00
joerg 6c440ed37c Update LLVM/Clang snapshot to r189662. This includes many improvements
to the new SLP vectorizer, fast codegen support for PPC and using
terminfo for the color sequences. In addition, add (optional) build
infrastructure for lld to allow easier testing. This is controlled by
MKLLD.
2013-09-02 14:34:55 +00:00
matt f60758a410 Change the default for MKLINT to no 2013-08-26 22:15:51 +00:00
matt efa43f9322 Change rule for x86 link to not be x86 dependent 2013-08-21 15:26:44 +00:00
martin d987c65861 Add .ARM.extab to the list of sections to be removed when converting to
aout format.
2013-08-15 12:45:50 +00:00
joerg 6e79a9892e Do as the last commit message said and not as the change did, only use
GCC's crt code on ia64.
2013-08-12 16:51:14 +00:00
joerg 05789f4038 Only ia64 defaults to USE_COMPILERCRTSTUFF=no now, so simplify
conditional.
2013-08-12 16:39:28 +00:00
joerg 58c5751e1a Don't copy .eh_frame section when trying to create a.out binaries. 2013-08-12 16:38:47 +00:00
matt c067c0ec0e Fix MACHINE_CPU for armeb 2013-08-12 16:17:07 +00:00
skrll 6234ce42bd Switch alpha to USE_COMPILERCRTSTUFF= no 2013-08-07 22:09:30 +00:00
matt cba6c5bed5 Add support for generating tramponlines in the module at link time.
This is done using some awk scripts and KMODTRAMPOLINE in <machine/asm.h>
It's not as efficient as having the kloader do it but it is a lot simpler.
2013-08-07 17:36:11 +00:00
skrll b88df2aff1 Add -mlong-calls to hppa module builds. 2013-08-06 06:08:39 +00:00
matt 7239678e01 Add GNU_ARCH for earmv4eb, earmv5, earmv5eb, earmv6, earmv6hf, earmv6eb,
earmv6hfeb, earmv7, earmv7hf
2013-08-06 05:46:26 +00:00
matt c5d26c67ea Simplify the earm tests 2013-08-05 15:33:07 +00:00
matt 41fa6563ce Add 3 more MACHINE_ARCH: earmv4 earmv7eb earmv7hfeb
The latter are for cortex big-endian which uses a different binary format
than previous arm big endian platforms.
2013-08-05 00:21:50 +00:00
adam d048c62b15 Fixed a typo 2013-08-03 19:31:26 +00:00
skrll c4b75127d1 Switch hppa to USE_COMPILERCRTSTUFF=no 2013-07-27 11:13:57 +00:00
matt 920e58b8b9 Use m5407--netbsdelf for coldfire (Why not just use m5407--netbsd? Because
gas will think that's a.out since internally it expands it to m68--netbsd
and that matches a.out)
2013-07-19 16:52:44 +00:00
pooka 370de4e409 Enable opt-out from shlib mapfile creation. Not all linkers (namely
the solaris one) support such fancy features.

no default functional change
2013-07-19 11:43:18 +00:00
matt 7640d05364 Test BSD makefile about coldfire.
XXX still hate m68k--netbsdelf-coldfire
2013-07-18 22:06:09 +00:00
martin 62c0de7a28 Disable -Wconversion for gcc older than 4.5 2013-07-17 19:24:56 +00:00
christos b0420de909 Add -Wconversion for WARNS > 5 2013-07-16 17:48:52 +00:00
matt d01d30fa5a When linking shared libraries, produce a map file. 2013-07-16 02:58:19 +00:00
martin 52a1560729 Switch sparc and sparc64 to USE_COMPILERCRTSTUFF=no 2013-07-11 06:58:30 +00:00
matt 138c29fa6c MIPS now uses USE_COMPILERCRTSUTFF=no 2013-06-25 01:17:29 +00:00
matt 4e11eec173 For VAX, enable USE_COMPILERCRTSTUFF = no
Sort the arm ELF2AOUT sections to be removed.
2013-06-25 00:33:09 +00:00
tsutsui ccf0f70064 Invoke tools/binstall/mkmanifest for Cygwin via ${HOST_SH}.
Fixes builds using source sets that drop executable bits.
2013-06-14 16:10:02 +00:00
mrg 0ca6164e56 rename (new) xorg_drivers to xorg_server -- platforms that build the
actual Xorg server (aka "xfree86 server").

move the list of these platforms from xorg-server/Makefile.common to
bsd.own.mk, so that we can access it easily in distrib.

this should fix most of the current build failures.
2013-06-12 21:35:29 +00:00
mrg 224424a849 add a new MKXORG_DRIVERS that defaults to yes on MKXORG platforms
besides acorn26.  useful for sets, and avoids overloading the
value of XFREE86_SERVERS.
2013-06-10 05:02:38 +00:00
mrg b2836e59b2 make .pc files depend upon configure files if they exist. this
will force them to be rebuilt when the version has changed.
this fixes one of the most often broken parts of update builds
after a version update.
2013-06-05 23:14:13 +00:00
mrg 43546c5b7b define X11SRCDIR.xorg-docs. 2013-06-05 07:41:56 +00:00
mrg 2419004b57 update to xorg-server 1.10.6. 2013-06-03 07:39:07 +00:00
mbalmer d7a7f8507d New variable MKX11MOTIF to enable building libGLw with Motif support.
Defaults to 'no'.
2013-06-02 11:02:40 +00:00
mrg f8cebe2a9e add LIBX11_XCB; unfortunately since the library is named with a -
in it, we have to use an ugly hard coded assignment for now.
(could be cleaned up with more make variable magic i'm sure.)
2013-05-31 06:48:43 +00:00