diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-09-30 17:03:17 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-09-30 17:03:17 +0200 |
commit | b0c6943121f186c79d2152694d209f82904ff1e1 (patch) | |
tree | 1fb2d1c528f5e7189e04ab1410f264a8121c01e6 /miniany/build.sh | |
parent | 9071723d55055307f0e92ae0f9d3194079aa086e (diff) | |
download | compilertests-b0c6943121f186c79d2152694d209f82904ff1e1.tar.gz compilertests-b0c6943121f186c79d2152694d209f82904ff1e1.tar.bz2 |
cc: rearanged for a pseudo-main
Diffstat (limited to 'miniany/build.sh')
-rwxr-xr-x | miniany/build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/miniany/build.sh b/miniany/build.sh index 5891613..7944eaf 100755 --- a/miniany/build.sh +++ b/miniany/build.sh @@ -78,6 +78,9 @@ case "${COMPILER}:${MODE}" in pcc:hosted) CFLAGS+=" -Wl,-emain" ;; +esac + +case "${COMPILER}:${MODE}" in *:hosted) CFLAGS+=" -lbsd" ;; |