Fixed compilation error
[bochs-mirror.git] / .conf.linux
blob14496280021af63cd5bb99ef9326e9c70b306d29
1 #!/bin/sh
3 # .conf.linux
6 #which_config=normal
7 which_config=plugins
9 CC="gcc"
10 CXX="c++"
11 CFLAGS="-Wall -O3 -fomit-frame-pointer -pipe" # for speed
12 #CFLAGS="-Wall -g -pipe" # for development
13 CXXFLAGS="$CFLAGS"
15 export CC
16 export CXX
17 export CFLAGS
18 export CXXFLAGS
21 case $which_config in
23 normal)
25 #######################################################################
26 # configuration 1 for release binary RPMs
27 # Include a few standard options, speed optimizations, X11 only.
28 #######################################################################
29 ./configure --enable-sb16 \
30 --enable-ne2000 \
31 --enable-all-optimizations \
32 --enable-cpu-level=6 \
33 --enable-x86-64 \
34 --enable-sse=2 \
35 --enable-pci \
36 --enable-acpi \
37 --enable-clgd54xx \
38 --enable-usb \
39 --enable-show-ips \
40 ${CONFIGURE_ARGS}
43 plugins)
44 #######################################################################
45 # configuration 2 for release binary RPMs
46 # Include plugins, every possible gui.
47 #######################################################################
48 ./configure --enable-sb16 \
49 --enable-ne2000 \
50 --enable-all-optimizations \
51 --enable-cpu-level=6 \
52 --enable-x86-64 \
53 --enable-sse=2 \
54 --enable-pci \
55 --enable-acpi \
56 --enable-clgd54xx \
57 --enable-usb \
58 --enable-plugins \
59 --enable-show-ips \
60 --with-all-libs \
61 ${CONFIGURE_ARGS}
64 esac