diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-14 22:30:34 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-14 22:30:34 +0200 |
commit | 5e84d7b76ce1cccdaf0900d62a94d0d1d88cdd62 (patch) | |
tree | 61500c277101ec46af8fed732dfe1c17b941b42c /src/print-cc.sh | |
parent | 1087d4df2a7342d2832ba3bab1843bf4a3040775 (diff) |
convert to the meson build system
This removes a lot of files.
Remove all conf-* files. The settings move to meson.options.
Add editor config.
Remove the auto_*.h files. They move to config.h.in.
Diffstat (limited to 'src/print-cc.sh')
-rw-r--r-- | src/print-cc.sh | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/src/print-cc.sh b/src/print-cc.sh deleted file mode 100644 index 2a46533..0000000 --- a/src/print-cc.sh +++ /dev/null @@ -1,62 +0,0 @@ -cc="`head -1 ../conf-cc`" -systype="`cat systype`" - -ccqlibs="`head -1 ../conf-qlibs`" -[ -d "$ccqlibs"/include ] && ccqlibs="-I${ccqlibs}/include" \ -|| ccqlibs="" - -cc -c trycpp.c -malign-double >/dev/null 2>&1 \ -&& ccad="-malign-double" - -cc -c trycpp.c -march=ultrasparc >/dev/null 2>&1 \ -&& ccus="-march=ultrasparc" - -cc -c trycpp.c -march=powerpc >/dev/null 2>&1 \ -&& ccpp="-march=powerpc" - -cc -c trycpp.c -march=21164 >/dev/null 2>&1 \ -&& cc21="-march=21164" - -cc -c trycpp.c -march=native >/dev/null 2>&1 \ -&& ccarm="-march=native" - -rm -f trycpp.o - -ccssl="`head -1 ../conf-ssl`" -eval cc -c tryssl.c ${ccssl} >/dev/null 2>&1 \ -|| ccssl="" - -ccbase="cc -fomit-frame-pointer -Wall" - -case "$cc:$systype" in - auto:*:i386-*:*) - cc="$ccbase -O1 $ccad" - ;; - auto:*:amd64-*:*) - cc="$ccbase -O2 $ccad" - ;; - auto:*:x86_64-*:*) - cc="$ccbase -O2 $ccad" - ;; - auto:*:sparc-*:*:*:*) - cc="$ccbase -O1 $ccus" - ;; - auto:*:ppc-*:*:*:*) - cc="$ccbase -O2 $ccpp" - ;; - auto:*:alpha-*:*:*:*) - cc="$ccbase -O2 $cc21" - ;; - auto:aix-*:-:-:*:-) - cc="$ccbase -O2 $ccpp" - ;; - auto:*:armv7l-:*) - cc="$ccbase -O2 $ccarm" - ;; - auto:*) - cc="$ccbase -O2" - ;; -esac - -cat warn-auto.sh -echo exec "$cc" ${ccqlibs} ${ccssl} '-c ${1+"$@"}' |