Commit Graph

2201 Commits

Author SHA1 Message Date
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
matt
af8f0546ca Make disklabel a MI tool. It will use MACHINE/MACHINE_ARCH to determine
the disklabel params as well as allowing command-line options of -M <machine>
and -B {le,be} to specify MACHINE and byteorder to be used.
2013-05-03 16:05:11 +00:00
matt
86313270f0 Use !empty(MACHINE_ARCH:Mearm*) instead of ${MACHINE_ARCH:Mearm*} != "" 2013-05-03 15:55:21 +00:00
matt
9244b4d1cb Allow use of a different by using KLINK_MACHINE instead.
If it's not set, KLINK_MACHINE is set to ${MACHINE}
2013-05-02 04:14:28 +00:00
joerg
c7fbe15f37 MKLIBCXX and MKLIBSTDCXX 2013-04-28 04:44:21 +00:00
joerg
2fa1d2471b Introduce MKLIBSTDCXX, defaulting to yes. 2013-04-28 04:05:37 +00:00
joerg
ecb06a3b09 Add build glue for libc++. 2013-04-27 23:02:17 +00:00
matt
ba99357d47 Default MKCOMPAT to no for earm 2013-04-27 08:42:44 +00:00