1 diff -Naur acpica-unix2-20140926/generate/unix/Makefile.config acpica-unix2-20140926-patch/generate/unix/Makefile.config
2 --- acpica-unix2-20140926/generate/unix/Makefile.config 2014-09-26 12:02:29.000000000 -0600
3 +++ acpica-unix2-20140926-patch/generate/unix/Makefile.config 2014-10-01 12:53:53.510530248 -0600
5 # OPT_CFLAGS can be overridden on the make command line by
6 # adding OPT_CFLAGS="..." to the invocation.
8 +# OPT_LDFLAGS can be overridden on the make command line by
9 +# adding OPT_LDFLAGS="..." to the invocation.
12 # gcc should be version 4 or greater, otherwise some of the options
13 # used will not be recognized.
17 COMPILEOBJ = $(CC) -c $(CFLAGS) $(OPT_CFLAGS) -o $@ $<
18 -LINKPROG = $(CC) $(OBJECTS) -o $(PROG) $(LDFLAGS)
19 +LINKPROG = $(CC) $(OBJECTS) -o $(PROG) $(LDFLAGS) $(OPT_LDFLAGS)
21 INSTALLDIR = $(PREFIX)/bin
22 UNAME_S := $(shell uname -s)
24 OPT_CFLAGS ?= $(CWARNINGFLAGS)
27 +# Common linker flags
32 # Optionally disable optimizations. Optimization causes problems on
33 # some compilers such as gcc 4.4