001-uclibcxx_linking.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- vncrepeater-0.14/Makefile 2006-04-09 23:37:10.000000000 +0200
  2. +++ vncrepeater-0.14.new/Makefile 2016-11-09 19:59:13.000000000 +0100
  3. @@ -1,27 +1,28 @@
  4. CFLAGS=-Wall
  5. repeater: repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o repeaterutil.o repeaterevents.o
  6. - g++ $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o repeaterutil.o repeaterevents.o
  7. + $(CC) $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o repeaterutil.o repeaterevents.o $(LDFLAGS)
  8. repeater.o: repeater.cpp
  9. - g++ $(CFLAGS) -c repeater.cpp
  10. + $(CC) $(CFLAGS) -c repeater.cpp
  11. repeaterproc.o: repeaterproc.cpp
  12. - g++ $(CFLAGS) -c repeaterproc.cpp
  13. + $(CC) $(CFLAGS) -c repeaterproc.cpp
  14. openbsd_stringfuncs.o: openbsd_stringfuncs.cpp
  15. - g++ $(CFLAGS) -c openbsd_stringfuncs.cpp
  16. + $(CC) $(CFLAGS) -c openbsd_stringfuncs.cpp
  17. iniparser.o: iniparser.cpp
  18. - g++ $(CFLAGS) -c iniparser.cpp
  19. + $(CC) $(CFLAGS) -c iniparser.cpp
  20. readini.o: readini.cpp
  21. - g++ $(CFLAGS) -c readini.cpp
  22. + $(CC) $(CFLAGS) -c readini.cpp
  23. repeaterutil.o: repeaterutil.cpp
  24. - g++ $(CFLAGS) -c repeaterutil.cpp
  25. + $(CC) $(CFLAGS) -c repeaterutil.cpp
  26. repeaterevents.o: repeaterevents.cpp
  27. - g++ $(CFLAGS) -c repeaterevents.cpp
  28. + $(CC) $(CFLAGS) -c repeaterevents.cpp
  29. clean:
  30. rm -f *.o repeater
  31. +