lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

001-uclibcxx_linking.patch (1346B)


      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  
      9  repeater.o: repeater.cpp
     10 -	g++ $(CFLAGS) -c repeater.cpp
     11 +	$(CC) $(CFLAGS) -c repeater.cpp
     12  
     13  repeaterproc.o: repeaterproc.cpp
     14 -	g++ $(CFLAGS) -c repeaterproc.cpp
     15 +	$(CC) $(CFLAGS) -c repeaterproc.cpp
     16  
     17  openbsd_stringfuncs.o: openbsd_stringfuncs.cpp
     18 -	g++ $(CFLAGS) -c openbsd_stringfuncs.cpp
     19 +	$(CC) $(CFLAGS) -c openbsd_stringfuncs.cpp
     20  
     21  iniparser.o: iniparser.cpp
     22 -	g++ $(CFLAGS) -c iniparser.cpp
     23 +	$(CC) $(CFLAGS) -c iniparser.cpp
     24  
     25  readini.o: readini.cpp
     26 -	g++ $(CFLAGS) -c readini.cpp
     27 +	$(CC) $(CFLAGS) -c readini.cpp
     28  
     29  repeaterutil.o: repeaterutil.cpp
     30 -	g++ $(CFLAGS) -c repeaterutil.cpp
     31 +	$(CC) $(CFLAGS) -c repeaterutil.cpp
     32  
     33  repeaterevents.o: repeaterevents.cpp
     34 -	g++ $(CFLAGS) -c repeaterevents.cpp
     35 +	$(CC) $(CFLAGS) -c repeaterevents.cpp
     36  
     37  clean:
     38  	rm -f *.o repeater
     39 +