diff options
Diffstat (limited to 'main/s390-tools/0009-link-libexecinfo.patch')
-rw-r--r-- | main/s390-tools/0009-link-libexecinfo.patch | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/main/s390-tools/0009-link-libexecinfo.patch b/main/s390-tools/0009-link-libexecinfo.patch index 9902e8db7f..be78bc1382 100644 --- a/main/s390-tools/0009-link-libexecinfo.patch +++ b/main/s390-tools/0009-link-libexecinfo.patch @@ -1,13 +1,12 @@ diff --git a/common.mak b/common.mak -index 175ec37..6d45e56 100644 +index 9c349e5..0a5fd69 100644 --- a/common.mak +++ b/common.mak -@@ -224,7 +224,7 @@ endif - $(CXX) $(ALL_CPPFLAGS) $(ALL_CXXFLAGS) -c $< -o $@ +@@ -228,6 +228,7 @@ else + NO_PIE_LINKFLAGS := + NO_PIE_LDFLAGS := + endif ++LDLIBS += $(LIBEXECINFO_LIBS) - %: %.o -- $(LINK) $(ALL_LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o $@ -+ $(LINK) $(ALL_LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) $(LIBEXECINFO_LIBS) -o $@ - - %.a: - $(AR) rcs $@ $^ + # Overwrite implicite makefile rules for having nice compile output + %.o: %.c |