Commit Graph

12 Commits

Author SHA1 Message Date
Rob Landley
87b6d3f302 Use $CC instead of cc in probes, and don't add $ASAN to $HOSTCC.
(Yes I know kconfig is funky and needs to be replaced, but it doesn't ship.)
2022-11-21 22:48:12 -06:00
Rob Landley
f492273712 Move -Wno-string-plus-int to portability.sh and have it only apply to clang.
On gcc that spurious warning isn't generated so the -W to suppress it
isn't recognized. It doesn't complain an unknown -Wno-blah unless it's
producing other warnings, but when it does there's always an extra line
of noise, so fix it.
2022-09-14 02:43:39 -05:00
Rob Landley
0961ea2954 Move the mac-only option into the mac-only section. 2022-05-16 15:45:43 -05:00
Rob Landley
95b79373ba Clean up build plumbing. 2022-05-15 19:39:27 -05:00
Rob Landley
ee08909445 Unset ASAN after consuming it so scripts/portability.sh can be sourced twice. 2022-04-12 18:09:47 -05:00
Rob Landley
cda84ae988 Move arch-specific dead code elimination setup into scripts/portability.sh 2022-04-12 17:25:51 -05:00
Rob Landley
cecd169cde Collate ASAN setup, move generated/instlist into generated/unstripped,
use $UNSTRIPPED variable in more places and move definition to ./configure.
2022-04-12 17:22:18 -05:00
Rob Landley
515a1f2edd Move some of the uglier make.sh plumbing into portability.sh. 2022-02-12 03:18:48 -06:00
Rob Landley
eff1703cc3 Don't search for "configure" out of $PATH. 2021-11-20 02:54:13 -06:00
Eric Molitor
78991600dd Bash Compatibility Patch
I know that you are working on toysh which I'm looking forward to. In the
meantime below is a patch to improve compatibility with older/odd versions
of bash. This fixed a minor build issue I was having on MacOS (which was
using zsh in emulated bash mode) as well as an oddball embedded SDK using
a non-gnu version of bash. I believe these changes are minimal and should
be safe to apply, if not I wanted to at least get them on the mailing list
in case others ran into these issues.
2019-06-29 12:31:22 -05:00
Rob Landley
99cd706b1a Test for compiler existence when sourcing portability.sh. 2019-03-21 15:53:18 -05:00
Rob Landley
84ef9083fb Factor out scripts/portability.sh and have genconfig.sh use it to find sed/gsed. 2019-01-19 16:58:04 -06:00