diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-08 16:30:59 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-08 16:30:59 +0000 |
commit | b3dbedae553ab6e18dc803b6b8f337ece4dd90bc (patch) | |
tree | e92c451c065ea3010cc52f9e70de02b9a303ab31 /media-libs/dumb/files | |
parent | Rename bplay to bplay-bin to avoid file collision with blinkentools since not... (diff) | |
download | gentoo-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.patch | 4 |
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 $^ |