[GRASS-SVN] r65245 - grass/trunk/include/Make

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 15 05:38:24 PDT 2015


Author: martinl
Date: 2015-05-15 05:38:24 -0700 (Fri, 15 May 2015)
New Revision: 65245

Modified:
   grass/trunk/include/Make/Compile.make
Log:
Compile.make: change order of ldflags (gcc 4.8+ is more sensitive)


Modified: grass/trunk/include/Make/Compile.make
===================================================================
--- grass/trunk/include/Make/Compile.make	2015-05-15 11:09:21 UTC (rev 65244)
+++ grass/trunk/include/Make/Compile.make	2015-05-15 12:38:24 UTC (rev 65245)
@@ -15,7 +15,7 @@
 endif
 
 linker_base = $(PRELINK) && $(1) $(2) -o $@ $(filter %.o,$^) $(filter %.res,$^) $(3)
-linker_x = $(call linker_base,$(1),$(LDFLAGS) $(EXTRA_LDFLAGS),$(FMODE_OBJ) $(MANIFEST_OBJ) $(LIBES) $(EXTRA_LIBS) $(MATHLIB))
+linker_x = $(call linker_base,$(1),$(LDFLAGS),$(FMODE_OBJ) $(MANIFEST_OBJ) $(LIBES) $(EXTRA_LDFLAGS) $(EXTRA_LIBS) $(MATHLIB))
 linker_c = $(call linker_x,$(CC))
 linker_cxx = $(call linker_x,$(CXX))
 linker = $(call linker_x,$(LINK))



More information about the grass-commit mailing list