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:
parent
8e97419b0b
commit
7a421ba57f
4 changed files with 25 additions and 10 deletions
12
src/cmd/INIT/cc.openbsd
Executable file
12
src/cmd/INIT/cc.openbsd
Executable 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 \
|
||||
"$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue