blob: 1d55e6a81b968da5b2b78b47417fbd0f1e3fb54a (
plain)
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
|
--- acpidump/Makefile.orig
+++ acpidump/Makefile
@@ -1,11 +1,11 @@
PROG= acpidump
SRCS= acpidump.c
KERNEL_INCLUDE := ../include
-CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE)
+CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE)
all: acpidump
$(PROG) : $(SRCS)
- $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG)
CLEANFILES= $(PROG)
--- acpixtract/Makefile.orig
+++ acpixtract/Makefile
@@ -6,7 +6,7 @@
all: $(PROG)
$(PROG) : $(SRCS)
- $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG)
CLEANFILES= $(PROG)
--- madt/Makefile.orig
+++ madt/Makefile
@@ -3,7 +3,7 @@
all: madt
$(PROG) : $(SRCS)
- $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG)
test: madt
./madt < example.APIC.dat
|