wrappers: Set the right -std= arguments when invoked as c99/c11

This commit is contained in:
Martin Storsjö committed 2022-06-08 23:11:40 +03:00
1 parent 966f88e3da
commit 52d7bee3a8
2 files changed
+10

No files matched your search

+6
View File
@@ -50,6 +50,12 @@ case $EXE in
clang++|g++|c++)
FLAGS="$FLAGS --driver-mode=g++"
;;
c99)
FLAGS="$FLAGS -std=c99"
;;
c11)
FLAGS="$FLAGS -std=c11"
;;
esac
case $ARCH in
i686)