Lines Matching +full:- +full:fpie
3 set -e
39 if [ "`uname -a | grep Linux`" != "" ]; then
41 …OSCFLAGS="-fPIC -ffreestanding -Wno-maybe-uninitialized -Wno-unused-const-variable -Werror -Wno-un…
42 OSLDFLAGS="-lpthread -fPIC -fpie"
54 elif [ "`uname -a | grep FreeBSD`" != "" ]; then
56 OSCFLAGS="-fno-strict-aliasing -fPIC -Werror"
57 OSLDFLAGS="-lpthread -fPIC -fpie"
69 elif [ "`uname -a | grep Darwin`" != "" ]; then
71 OSCFLAGS="-fPIC -Wno-unused-const-variable -Wno-unknown-warning-option -mmacosx-version-min=10.7"
72 OSLDFLAGS="-lpthread -fPIC -fpie -mmacosx-version-min=10.7"
81 elif [ "`uname -a | grep MINGW`" != "" ]; then
83 …OSCFLAGS="-Wno-error=attributes -Wno-attributes -Wno-unused-const-variable -Wno-unknown-warning-op…
95 CC=${CC:-gcc}
96 IN_TMPDIR=${IN_TMPDIR:-0}
97 SILENT=${SILENT:-0}
100 DIR=$(mktemp -qd /tmp/gotsan.XXXXXXXXXX)
102 rm -rf $DIR
111 rm -f $DIR/gotsan.cc
116 FLAGS=" -I../rtl -I../.. -I../../sanitizer_common -I../../../include -std=c++11 -m64 -Wall -fno-exc…
118 FLAGS="$FLAGS -DSANITIZER_DEBUG=0 -O3 -msse3 -fomit-frame-pointer"
120 FLAGS="$FLAGS -DSANITIZER_DEBUG=1 -g"
124 echo $CC gotsan.cc -c -o $DIR/race_$SUFFIX.syso $FLAGS $CFLAGS
126 $CC $DIR/gotsan.cc -c -o $DIR/race_$SUFFIX.syso $FLAGS $CFLAGS
128 $CC $OSCFLAGS test.c $DIR/race_$SUFFIX.syso -m64 -g -o $DIR/test $OSLDFLAGS