File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ ifeq ($(OS),Windows_NT)
33 PLATFORM_OPTS=-static
44else
55 EXT=
6- PLATFORM_OPTS=
6+ PLATFORM_OPTS=-lrt
77endif
88
99
1010default : stabtest$(EXT )
1111
1212stabtest$(EXT ) : stabtest.cpp ../../readerwriterqueue.h ../../atomicops.h ../common/simplethread.h ../common/simplethread.cpp makefile
13- g++ $(PLATFORM_OPTS ) -std=c++11 -Wpedantic -Wall -DNDEBUG -O3 stabtest.cpp ../common/simplethread.cpp -o stabtest$(EXT ) -pthread -lrt - Wl,--no-as-needed
13+ g++ $(PLATFORM_OPTS ) -std=c++11 -Wpedantic -Wall -DNDEBUG -O3 stabtest.cpp ../common/simplethread.cpp -o stabtest$(EXT ) -pthread -Wl,--no-as-needed
1414
1515run : stabtest$(EXT )
1616 ./stabtest$(EXT )
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ ifeq ($(OS),Windows_NT)
33 PLATFORM_OPTS=-static
44else
55 EXT=
6- PLATFORM_OPTS=
6+ PLATFORM_OPTS=-lrt
77endif
88
99
1010default : unittests$(EXT )
1111
1212unittests$(EXT ) : unittests.cpp ../../readerwriterqueue.h ../../atomicops.h ../common/simplethread.h ../common/simplethread.cpp minitest.h makefile
13- g++ $(PLATFORM_OPTS ) -std=c++11 -Wpedantic -Wall -DNDEBUG -O3 -g unittests.cpp ../common/simplethread.cpp -o unittests$(EXT ) -pthread -lrt - Wl,--no-as-needed
13+ g++ $(PLATFORM_OPTS ) -std=c++11 -Wpedantic -Wall -DNDEBUG -O3 -g unittests.cpp ../common/simplethread.cpp -o unittests$(EXT ) -pthread -Wl,--no-as-needed
1414
1515run : unittests$(EXT )
1616 ./unittests$(EXT )
You can’t perform that action at this time.
0 commit comments