LDLIBS comes after object files when linking (required by newer GCC versions) diphoton_M1
authorDamiano Boppart <damiano@pep-security.net>
Tue, 31 Oct 2017 15:14:29 +0100
branchdiphoton_M1
changeset 226112abad099161
parent 2260 1c2211119c4a
child 2262 0437fb3b1875
LDLIBS comes after object files when linking (required by newer GCC versions)
test/Makefile
     1.1 --- a/test/Makefile	Tue Oct 31 12:03:26 2017 +0100
     1.2 +++ b/test/Makefile	Tue Oct 31 15:14:29 2017 +0100
     1.3 @@ -94,7 +94,7 @@
     1.4  	$(TEST_CMD_PFX) ./$<
     1.5  
     1.6  %_test : %_test.o test_util.o
     1.7 -	$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
     1.8 +	$(CXX) $^ $(LDFLAGS) $(LDLIBS) -o $@
     1.9  
    1.10  %_run : % test_home_
    1.11  	$(TEST_CMD_PFX) ./$<