diff options
author | Vladislav Nepogodin | 2021-10-30 23:19:42 +0400 |
---|---|---|
committer | Vladislav Nepogodin | 2021-10-30 23:19:42 +0400 |
commit | e34c49b4be2bb84cf4c8be85f1d71eee928df8e8 (patch) | |
tree | 1ea957a20b68ee2a9d1cdbb942463ddf8115f9e4 /c89 | |
download | aur-e34c49b4be2bb84cf4c8be85f1d71eee928df8e8.tar.gz |
🎉 initial commit
Diffstat (limited to 'c89')
-rw-r--r-- | c89 | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +#!/bin/sh +fl="-std=c89" +for opt; do + case "$opt" in + -ansi|-std=c89|-std=iso9899:1990) fl="";; + -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2 + exit 1;; + esac +done +exec gcc $fl ${1+"$@"} |