Rob Landley
|
f492273712
Move -Wno-string-plus-int to portability.sh and have it only apply to clang.
|
3 anni fa |
Rob Landley
|
0bc343f07f
Prevent configure from appending to $CFLAGS twice when it gets read twice.
|
3 anni fa |
Rob Landley
|
0961ea2954
Move the mac-only option into the mac-only section.
|
3 anni fa |
Elliott Hughes
|
0476d6d1e2
macOS: silence the "vfork() is deprecated" warning spam.
|
3 anni fa |
Rob Landley
|
95b79373ba
Clean up build plumbing.
|
3 anni fa |
Rob Landley
|
6e77d99557
Remove duplicate argument.
|
3 anni fa |
Rob Landley
|
cda84ae988
Move arch-specific dead code elimination setup into scripts/portability.sh
|
3 anni fa |
Rob Landley
|
cecd169cde
Collate ASAN setup, move generated/instlist into generated/unstripped,
|
3 anni fa |
Rob Landley
|
bbe709fb87
use $GENDIR variable for (some) generated/ references, and move
|
3 anni fa |
Rob Landley
|
7a5cb95817
Move UNSTRIPPED to configure, merge LDASNEEDED into LDFLAGS
|
3 anni fa |
Rob Landley
|
4d9c2a56a0
Move config variables to configure.
|
3 anni fa |
Rob Landley
|
ebde3b8a5b
Move -Wno-string-plus-int to configure instead of probing for it.
|
3 anni fa |
Elliott Hughes
|
4991ae7261
Fix Darwin build.
|
3 anni fa |
Rob Landley
|
9827d4aa03
When building with -funsigned-char, warning about passing a "char *" to an
|
4 anni fa |
Rob Landley
|
852e4ca9b8
Glibc is so fragile stripping .gnu.version breaks regexec(REG_STARTEND)
|
4 anni fa |
Rob Landley
|
9d7d87eae4
Strip slightly harder.
|
4 anni fa |
Elliott Hughes
|
5a82dad222
Use -dead_strip for --gc-sections on macOS.
|
4 anni fa |
Rob Landley
|
ce62207877
Integrate cross compile support into mkroot, ala "make root CROSS=sh4"
|
5 anni fa |
Rob Landley
|
abddc3bb40
ASAN=1 implies NOSTRIP=1, and don't say strip failed for NOSTRIP.
|
6 anni fa |
Rob Landley
|
ac84e85079
Add ASAN=1 to the build, in a slightly different way than Elliott suggested.
|
6 anni fa |
Elliott Hughes
|
360a2bfd5d
macOS: Apple's ancient linker doesn't have --as-needed or --gc-sections.
|
7 anni fa |
Francesco Valla
|
7335fe7928
configure: fix typo
|
7 anni fa |
Francesco Valla
|
5efc1674a8
call strip as $STRIP
|
7 anni fa |
Rob Landley
|
29fb63849d
People keep running ./configure, so have it do a defconfig for them.
|
7 anni fa |
Rob Landley
|
85ffccb38e
Implicit function declarations are an error, not a warning.
|
9 anni fa |
Rob Landley
|
df07fb73be
Wean scripts/install.c off toys.h so cross compiling less brittle.
|
9 anni fa |
Rob Landley
|
d20b9ff3ee
Don't pass target $CFLAGS to host builds (telling x86 compiler to be big-endian
|
10 anni fa |
Rob Landley
|
1223578c94
Fix allnoconfig. (Exporting HOSTCC before HOSTCC?=cc caused a problem.)
|
10 anni fa |
Rob Landley
|
35c92f1e39
Fix a couple things gcc is too dumb to figure out on its own.
|
10 anni fa |
Rob Landley
|
a913d92bad
Probe for -Wno-string-plus-int.
|
10 anni fa |