]> git.pld-linux.org Git - packages/dmsdos.git/blob - dmsdos-opt.patch
- tabs in preamble
[packages/dmsdos.git] / dmsdos-opt.patch
1 --- dmsdos-0.9.2.2/src/Makefile.orig    Fri Oct 22 18:17:28 1999
2 +++ dmsdos-0.9.2.2/src/Makefile Wed Apr  3 14:57:01 2002
3 @@ -12,24 +12,24 @@
4  # guess some special flags for CPU type - used for optimization only
5  CPUFLAGS=
6  ifeq ($(CONFIG_M386),y)
7 -CPUFLAGS= -m386 -DCPU=386 -DUSE_ASM
8 +CPUFLAGS= -DCPU=386 -DUSE_ASM
9  endif
10  ifeq ($(CONFIG_M486),y)
11 -CPUFLAGS= -m486 -DCPU=486 -DUSE_ASM
12 +CPUFLAGS= -DCPU=486 -DUSE_ASM
13  endif
14  ifeq ($(CONFIG_M586),y)
15 -CPUFLAGS= -m486 -DCPU=586 -DUSE_ASM
16 +CPUFLAGS= -DCPU=586 -DUSE_ASM
17  endif
18  # this one is new in 2.2.x kernels...
19  ifeq ($(CONFIG_M586TSC),y)
20 -CPUFLAGS= -m486 -DCPU=586 -DUSE_ASM
21 +CPUFLAGS= -DCPU=586 -DUSE_ASM
22  endif
23  ifeq ($(CONFIG_M686),y)
24 -CPUFLAGS= -m486 -DCPU=686 -DUSE_ASM
25 +CPUFLAGS= -DCPU=686 -DUSE_ASM
26  endif
27  # this one is new in 2.3.x kernels...
28  ifeq ($(CONFIG_MK7),y)
29 -CPUFLAGS= -m486 -DCPU=686 -DUSE_ASM
30 +CPUFLAGS= -DCPU=686 -DUSE_ASM
31  endif
32  #
33  # Okay, that's it :)
34 @@ -72,7 +72,7 @@
35  #
36  # CFLAGS for dmsdos module
37  # note: some macro expansions require at least -O
38 -CFLAGS= -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE
39 +CFLAGS= -Wall -Wstrict-prototypes $(OPT) -fomit-frame-pointer -D__KERNEL__ -DMODULE
40  CFLAGS+= $(CPUFLAGS)
41  #
42  # The next lines add some stuff automatically for people using modversions
43 @@ -83,12 +83,12 @@
44  #
45  # CFLAGS for the dmsdos daemon
46  # note: some macro expansions require at least -O
47 -DCFLAGS= -Wall -O3 -D__DMSDOS_DAEMON__
48 +DCFLAGS= -Wall $(OPT) -D__DMSDOS_DAEMON__
49  DCFLAGS+= $(CPUFLAGS)
50  #
51  # CFLAGS for the dmsdos library
52  # note: some macro expansions require at least -O
53 -LCFLAGS= -Wall -O -ggdb -D__DMSDOS_LIB__ -DUSE_FLOCK
54 +LCFLAGS= -Wall $(OPT) -D__DMSDOS_LIB__ -DUSE_FLOCK
55  LCFLAGS+= $(CPUFLAGS) $(LIBC6FLAGS)
56  # uncomment the next line if you want a shared library
57  # LIB_SHARED = 1
This page took 0.060918 seconds and 3 git commands to generate.