1 Index: acpica-unix2-20170303/generate/unix/Makefile.config
2 ===================================================================
3 --- acpica-unix2-20170303.orig/generate/unix/Makefile.config
4 +++ acpica-unix2-20170303/generate/unix/Makefile.config
6 # OPT_CFLAGS can be overridden on the make command line by
7 # adding OPT_CFLAGS="..." to the invocation.
9 +# OPT_LDFLAGS can be overridden on the make command line by
10 +# adding OPT_LDFLAGS="..." to the invocation.
13 # gcc should be version 4 or greater, otherwise some of the options
14 # used will not be recognized.
15 @@ -43,7 +46,7 @@ CC = gcc
18 COMPILEOBJ = $(CC) -c $(CFLAGS) $(OPT_CFLAGS) -o $@ $<
19 -LINKPROG = $(CC) $(OBJECTS) -o $(PROG) $(LDFLAGS)
20 +LINKPROG = $(CC) $(OBJECTS) -o $(PROG) $(LDFLAGS) $(OPT_LDFLAGS)
22 INSTALLDIR = $(PREFIX)/bin
23 UNAME_S := $(shell uname -s)
24 @@ -157,6 +160,11 @@ LDFLAGS +=-m32
28 +# Common linker flags
33 # Optionally disable optimizations. Optimization causes problems on
34 # some compilers such as gcc 4.4