forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure-opts
executable file
·65 lines (57 loc) · 1.85 KB
/
configure-opts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
These are the configure options used for most of the builds and tests.
Based on output of current debian's `gcc -dump-specs` but with some things
removed. Had to remove the --with-abi option for some older builds. In
older versions MAKEINFO=HaHaNope on the commandline is treated as host type.
So trying it as env var now.
The below was part of a shell script which was passed the source directory as
its only argument.
########
# Keep this in for modern linux because it is the right thing to do if libc and
# kernel not old. (Newer revisions have magic to set the right default)
LINUX_FUTEX=--enable-linux-futex
# --with-tune=generic was in config of standard debian gcc (recent)
# but older ones don't like it
#${TUNE}=--with-tune=generic
# Set GCC_MAINTAINER_MODE to a non-empty value, and we'll pass
# --enable-maintainer-mode.
#CHECK="--enable-checking=release"
[ $# -eq 1 ] || exit 1
MAKEINFO=HaHaNope \
CXX="${CXX:-c++} -stc=c++98" \
"$1/configure" \
-v \
--enable-languages=c \
--prefix=${PREFIX:-/usr} \
${LOCAL_PREFIX:+--with-local-prefix=$LOCAL_PREFIX} \
${GCC_MAINTAINER_MODE:+--enable-maintainer-mode} \
${LINUX_FUTEX} \
${CHECK} \
--disable-doc \
--program-suffix=${PROGRAM_SUFFIX} \
--program-prefix=${PROGRAM_PREFIX} \
--enable-shared \
--enable-linker-build-id \
${LIBEXECDIR:+--libexecdir=$LIBEXECDIR} \
--without-included-gettext \
--enable-threads=posix \
${LIBDIR:+--libdir=$LIBDIR} \
--enable-nls \
--with-sysroot=/ \
--enable-clocale=gnu \
--enable-gnu-unique-object \
--disable-vtable-verify \
--enable-libmpx \
--enable-plugin \
--enable-default-pie \
--with-system-zlib \
--disable-browser-plugin \
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar \
--with-target-system-zlib \
--enable-objc-gc=auto \
--enable-multiarch \
--with-arch-32=i686 \
--enable-multilib \
${TUNE} \
--build=x86_64-linux-gnu \
--host=x86_64-linux-gnu \
--target=x86_64-linux-gnu