]> git.pld-linux.org Git - packages/acpica.git/blobdiff - OPT_LDFLAGS.patch
add tests tarball, add patches from fedora
[packages/acpica.git] / OPT_LDFLAGS.patch
diff --git a/OPT_LDFLAGS.patch b/OPT_LDFLAGS.patch
new file mode 100644 (file)
index 0000000..70ffaf4
--- /dev/null
@@ -0,0 +1,34 @@
+diff -Naur acpica-unix2-20140926/generate/unix/Makefile.config acpica-unix2-20140926-patch/generate/unix/Makefile.config
+--- acpica-unix2-20140926/generate/unix/Makefile.config        2014-09-26 12:02:29.000000000 -0600
++++ acpica-unix2-20140926-patch/generate/unix/Makefile.config  2014-10-01 12:53:53.510530248 -0600
+@@ -23,6 +23,9 @@
+ # OPT_CFLAGS can be overridden on the make command line by
+ #   adding OPT_CFLAGS="..." to the invocation.
+ #
++# OPT_LDFLAGS can be overridden on the make command line by
++#   adding OPT_LDFLAGS="..." to the invocation.
++#
+ # Notes:
+ #   gcc should be version 4 or greater, otherwise some of the options
+ #     used will not be recognized.
+@@ -43,7 +46,7 @@
+ OBJDIR =     obj
+ BINDIR =     bin
+ COMPILEOBJ = $(CC) -c $(CFLAGS) $(OPT_CFLAGS) -o $@ $<
+-LINKPROG =   $(CC) $(OBJECTS) -o $(PROG) $(LDFLAGS)
++LINKPROG =   $(CC) $(OBJECTS) -o $(PROG) $(LDFLAGS) $(OPT_LDFLAGS)
+ PREFIX ?=    /usr
+ INSTALLDIR = $(PREFIX)/bin
+ UNAME_S := $(shell uname -s)
+@@ -136,6 +139,11 @@
+ OPT_CFLAGS ?= $(CWARNINGFLAGS)
+ #
++# Common linker flags
++#
++OPT_LDFLAGS ?= 
++
++#
+ # Optionally disable optimizations. Optimization causes problems on
+ # some compilers such as gcc 4.4
+ #
This page took 0.063463 seconds and 4 git commands to generate.