summaryrefslogtreecommitdiff
path: root/devel/efivar/files/patch-Make.rules
diff options
context:
space:
mode:
Diffstat (limited to 'devel/efivar/files/patch-Make.rules')
-rw-r--r--devel/efivar/files/patch-Make.rules15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/efivar/files/patch-Make.rules b/devel/efivar/files/patch-Make.rules
new file mode 100644
index 000000000000..24d302516477
--- /dev/null
+++ b/devel/efivar/files/patch-Make.rules
@@ -0,0 +1,15 @@
+--- Make.rules.orig 2014-10-15 13:48:49 UTC
++++ Make.rules
+@@ -2,10 +2,10 @@
+ $(AR) -cvqs $@ $^
+
+ % : %.o
+- $(CCLD) $(ccldflags) -o $@ $^ $(foreach lib,$(LIBS),-l$(lib))
++ $(CCLD) $(ccldflags) -o $@ $^ $(LIBS)
+
+ %.so.$(SONAME_VERSION) :
+- $(CCLD) $(cflags) -Wl,-soname,$(SONAME) $(ccldflags) $(LIBFLAGS) $^ -o $@ $(foreach lib,$(LIBS),-l$(lib))
++ $(CCLD) $(cflags) -Wl,-soname,$(SONAME) $(ccldflags) $(LIBFLAGS) $^ -o $@ $(LIBS)
+
+ %.so : %.so.$(SONAME_VERSION)
+ ln -sf $^ $@