]> git.pld-linux.org Git - packages/dosemu.git/blame - dosemu-make-new.patch
- rel 0.2 for fixed desktop file
[packages/dosemu.git] / dosemu-make-new.patch
CommitLineData
bc19b84e
AM
1diff -urN dosemu-1.1.5.org/configure.ac dosemu-1.1.5/configure.ac
2--- dosemu-1.1.5.org/configure.ac 2003-09-01 23:10:03.000000000 +0200
3+++ dosemu-1.1.5/configure.ac 2003-09-01 23:10:53.000000000 +0200
4@@ -428,9 +428,9 @@
69358013 5 if test "$enable_debug" = "yes"; then
6 CFLAGS="$CFLAGS -g"
7 AC_DEFINE(_DEBUG)
8- OPT="-O"
9+ OPT="$OPTFLAGS"
10 else
11- OPT="-O2" # BIG NOTE: do _not_ use -O3,
12+ OPT="$OPTFLAGS" # BIG NOTE: do _not_ use -O3,
5a6901a1
JB
13 # because in forces _inline_ at places where we don't want it !
14 # If we want _inline_, well then we 'code' it.
69358013 15 OPT="$OPT -fomit-frame-pointer" # never omit the frame pointer when debugging!
16@@ -517,35 +517,6 @@
17 fi
5a6901a1
JB
18
19
20- # -m486 is usually in the specs for the compiler
21- # but gcc-3.0 wants -mcpu=i486 instead
69358013 22- # and gcc-3.4 wants -mtune=i486 instead
5a6901a1
JB
23- # let the compiler options be dependent of the _target_
24- # where dosemu is compiled for, not the host
25- if test "$target_cpu" = "athlon" -a $GCC_VERSION_CODE -le 2095 ; then
26- target_cpu="i686"
27- fi
69358013 28- if test "$GCC_VERSION_CODE" -ge 3004 ; then
29- OPT="$OPT -mtune=$target_cpu"
30- elif test "$GCC_VERSION_CODE" -ge 2095 ; then
5a6901a1
JB
31- OPT="$OPT -mcpu=$target_cpu"
32- else
33- case "$target_cpu" in
34- i486)
35- OPT="$OPT -m486"
36- ;;
37- i386)
38- OPT="$OPT -m386"
39- ;;
40- *)
41- ;;
42- esac
43- fi
44- if test "$target_cpu" = "athlon"; then
45- OPT="$OPT -malign-functions=4 -fexpensive-optimizations"
46- elif test "$target_cpu" = "i486"; then
47- OPT="$OPT -malign-loops=2 -malign-jumps=2 -malign-functions=2"
48- fi
69358013 49
c02feb1a 50 AC_MSG_CHECKING(for glibc...)
bc19b84e 51 set `printf '%b\n' '#include <features.h>\nXXAaZZ __GLIBC__ XXBbZZ __GLIBC_MINOR__'|gcc -E -|awk '/XXAaZZ/ {print $2 " " $4}'`
bc19b84e
AM
52diff -urN dosemu-1.1.5.org/src/arch/linux/dosext/sound/midid/Makefile dosemu-1.1.5/src/arch/linux/dosext/sound/midid/Makefile
53--- dosemu-1.1.5.org/src/arch/linux/dosext/sound/midid/Makefile 2003-09-01 23:10:03.000000000 +0200
54+++ dosemu-1.1.5/src/arch/linux/dosext/sound/midid/Makefile 2003-09-01 23:10:19.000000000 +0200
55@@ -19,7 +19,7 @@
5a6901a1
JB
56 # No servicable parts below
57
58 CC=gcc
59-CFLAGS=-Wall -pipe -O -g
60+CFLAGS=-Wall -pipe $(OPTFLAGS)
61 LDFLAGS += -Wall
62 OBJECTS=midid.o events.o io.o stats.o emulation.o device.o \
63 oss.o midout.o timid.o null.o
This page took 0.0691619999999999 seconds and 4 git commands to generate.