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-sound/peercast/files/peercast-0.1216-makefile.patch

27 lines
961 B

Index: work/ui/linux/makefile
===================================================================
--- work.orig/ui/linux/makefile
+++ work/ui/linux/makefile
@@ -79,10 +79,10 @@ clean:
rm -f $(LINUXOBJ) $(COREOBJ) $(TARGET) ${LIBOBJSTATIC} ${LIBOBJSHARED} $(COREOBJSTATIC)
%.o: %.cpp
- $(CC) $(INCLUDES) $(CPPFLAGS) -fPIC -c $< -o $@
+ $(CC) $(CXXFLAGS) $(INCLUDES) $(CPPFLAGS) -fPIC -c $< -o $@
%.a: %.cpp
- $(CC) $(INCLUDES) $(CPPFLAGS) -c $< -o $@
+ $(CC) $(CXXFLAGS) $(INCLUDES) $(CPPFLAGS) -c $< -o $@
DEPENDFILE = makedepend
@@ -92,7 +92,7 @@ depend:
$(CC) $(INCLUDES) $(CPPFLAGS) -MD $(CORESOURCE) $(LINUXSOURCE) >> $(DEPENDFILE)
peercast-so: $(COREOBJSTATIC) $(COREOBJ) $(LINUXOBJ)
- $(LD) $(LDSOFLAGS),$(LIBSONAME) -o ${LIBOBJSHARED} $(COREOBJ) -lc
+ $(LD) $(LDFLAGS) $(LDSOFLAGS),$(LIBSONAME) -o ${LIBOBJSHARED} $(COREOBJ) -lc
$(LD) $(LDFLAGS) -o $@ $(LINUXOBJ) $(LIBOBJSHARED) -ldl
${AR} rcs $(LIBOBJSTATIC) $(COREOBJSTATIC)