Rob Landley
|
bbe709fb87
use $GENDIR variable for (some) generated/ references, and move
|
2 éve |
Rob Landley
|
7a5cb95817
Move UNSTRIPPED to configure, merge LDASNEEDED into LDFLAGS
|
2 éve |
Rob Landley
|
4d9c2a56a0
Move config variables to configure.
|
2 éve |
Rob Landley
|
ebde3b8a5b
Move -Wno-string-plus-int to configure instead of probing for it.
|
2 éve |
Elliott Hughes
|
4991ae7261
Fix Darwin build.
|
2 éve |
Rob Landley
|
9827d4aa03
When building with -funsigned-char, warning about passing a "char *" to an
|
2 éve |
Rob Landley
|
852e4ca9b8
Glibc is so fragile stripping .gnu.version breaks regexec(REG_STARTEND)
|
2 éve |
Rob Landley
|
9d7d87eae4
Strip slightly harder.
|
2 éve |
Elliott Hughes
|
5a82dad222
Use -dead_strip for --gc-sections on macOS.
|
2 éve |
Rob Landley
|
ce62207877
Integrate cross compile support into mkroot, ala "make root CROSS=sh4"
|
4 éve |
Rob Landley
|
abddc3bb40
ASAN=1 implies NOSTRIP=1, and don't say strip failed for NOSTRIP.
|
4 éve |
Rob Landley
|
ac84e85079
Add ASAN=1 to the build, in a slightly different way than Elliott suggested.
|
4 éve |
Elliott Hughes
|
360a2bfd5d
macOS: Apple's ancient linker doesn't have --as-needed or --gc-sections.
|
5 éve |
Francesco Valla
|
7335fe7928
configure: fix typo
|
6 éve |
Francesco Valla
|
5efc1674a8
call strip as $STRIP
|
6 éve |
Rob Landley
|
29fb63849d
People keep running ./configure, so have it do a defconfig for them.
|
6 éve |
Rob Landley
|
85ffccb38e
Implicit function declarations are an error, not a warning.
|
7 éve |
Rob Landley
|
df07fb73be
Wean scripts/install.c off toys.h so cross compiling less brittle.
|
8 éve |
Rob Landley
|
d20b9ff3ee
Don't pass target $CFLAGS to host builds (telling x86 compiler to be big-endian
|
8 éve |
Rob Landley
|
1223578c94
Fix allnoconfig. (Exporting HOSTCC before HOSTCC?=cc caused a problem.)
|
8 éve |
Rob Landley
|
35c92f1e39
Fix a couple things gcc is too dumb to figure out on its own.
|
8 éve |
Rob Landley
|
a913d92bad
Probe for -Wno-string-plus-int.
|
9 éve |
Rob Landley
|
ccccc2bfdd
Flag to make llvm shut up about a broken warning.
|
9 éve |
Rob Landley
|
1f44b5f0b2
Yank $STRIP from config (and STRIP=no weirdness) and just allow strip to fail.
|
9 éve |
Rob Landley
|
57f93c8bad
Add LDFLAGS and STRIP=no support.
|
9 éve |
Rob Landley
|
96146200ea
Old compilers complain about linker options passed with -c, so split out $LDOPTIMIZE.
|
9 éve |
Rob Landley
|
0d74ad383b
Add a new optimization flag at the suggestion of the musl guys telling gcc not to produce a large unused dwarf table for C++ style stack unwinding.
|
11 éve |
Rob Landley
|
bccb6db20d
Revert some debug code accidentally checked in at commit 715.
|
11 éve |
Jonathan Clairembault
|
939fa7408f
Add expand command as described in POSIX-2008.
|
11 éve |
Rob Landley
|
97abd4a981
Replace CCFLAGS with description of how to add flags to HOSTCC.
|
12 éve |