You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/svgalib/files/svgalib-1.9.19-pic.patch

18 lines
487 B

the -fPIC flag does work for lrmi
http://bugs.gentoo.org/51698
--- svgalib-1.9.19/src/Makefile.jj 2004-09-09 09:08:24.369399280 -0700
+++ svgalib-1.9.19/src/Makefile 2004-09-09 09:08:32.340187536 -0700
@@ -462,8 +462,8 @@
$(CC) $(CFLAGS) $(VGA_DEFINES) -c -o $@ $<
#lrmi must NOT be compiled as -fPIC
-lrmi.o: lrmi.c
- $(CC) $(CFLAGS:-fPIC=) -c -o $@ $<
+#lrmi.o: lrmi.c
+# $(CC) $(CFLAGS:-fPIC=) -c -o $@ $<
$(RAMDAC): %.o: %.c
$(CC) $(CFLAGS) $(RAMDAC_DEFINES) -c -o $@ $<