summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-08 16:30:59 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-08 16:30:59 +0000
commitb3dbedae553ab6e18dc803b6b8f337ece4dd90bc (patch)
treee92c451c065ea3010cc52f9e70de02b9a303ab31 /media-libs/dumb/files
parentRename bplay to bplay-bin to avoid file collision with blinkentools since not... (diff)
downloadgentoo-2-b3dbedae553ab6e18dc803b6b8f337ece4dd90bc.tar.gz
gentoo-2-b3dbedae553ab6e18dc803b6b8f337ece4dd90bc.tar.bz2
gentoo-2-b3dbedae553ab6e18dc803b6b8f337ece4dd90bc.zip
Insert -lm to linking for -Wl,--as-needed wrt #245526
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/dumb/files')
-rw-r--r--media-libs/dumb/files/dumb-0.9.2-PIC.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/dumb/files/dumb-0.9.2-PIC.patch b/media-libs/dumb/files/dumb-0.9.2-PIC.patch
index f10a247662b7..dc3009310b77 100644
--- a/media-libs/dumb/files/dumb-0.9.2-PIC.patch
+++ b/media-libs/dumb/files/dumb-0.9.2-PIC.patch
@@ -65,8 +65,8 @@ diff -Naur dumb.orig/make/Makefile.inc dumb/make/Makefile.inc
$(CORE_LIB_FILE): $(CORE_OBJECTS)
- $(AR) rs $@ $^
-+ $(CC) -shared -o $@ -Wl,-shared,-soname,$(shell basename $@) $^
++ $(CC) -shared -o $@ -Wl,-shared,-soname,$(shell basename $@) -lm $^
$(ALLEGRO_LIB_FILE): $(ALLEGRO_OBJECTS)
- $(AR) rs $@ $^
-+ $(CC) -shared -o $@ -Wl,-shared,-soname,$(shell basename $@) $^
++ $(CC) -shared -o $@ -Wl,-shared,-soname,$(shell basename $@) -lm $^