summaryrefslogtreecommitdiff
path: root/B/generic/build_gcc.sh
blob: cf7a14854bc7191f6b4d58a0786d724f0fe555a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh
## vim:set ts=4 sw=4 et:
set -e
echo "// Using GNU C compiler."
echo "//"

test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
UNAME_MACHINE=unknown

CC="gcc -fPIC"
CC="gcc -static"
CC="gcc"
CFLAGS="-Wall -O2 -fomit-frame-pointer"

. $top_srcdir/B/generic/build.sh