1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

INIT: tweak cc.{darwin,freebsd}; add cc.openbsd

(cherry picked from commit a1d8ff6faca522a29161582952e232afc76fd643)
This commit is contained in:
Martijn Dekker 2020-06-06 03:40:18 +02:00
parent 8e97419b0b
commit 7a421ba57f
4 changed files with 25 additions and 10 deletions

12
src/cmd/INIT/cc.openbsd Executable file
View file

@ -0,0 +1,12 @@
: OpenBSD cc wrapper
HOSTTYPE=openbsd.generic
case " $* " in
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
esac
exec /usr/bin/cc -P \
-Wno-unused-value \
-Wno-parentheses \
"$@"