1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00
cde/src/cmd/INIT/cc.openbsd
Martijn Dekker 7a421ba57f INIT: tweak cc.{darwin,freebsd}; add cc.openbsd
(cherry picked from commit a1d8ff6faca522a29161582952e232afc76fd643)
2020-06-12 01:45:16 +02:00

12 lines
182 B
Text
Executable file

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