build does not respect LDFLAGS
Posted: Thu Aug 29, 2013 5:32 pm
LDFLAGS only apply to libraries that come _after_ them in the linking command
the generated makefiles all show the following:
which causes LDFLAGS to do nothing. If this is the standard form of premake generated makefiles, then it is misdesigned and should never be used again.
see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347650
the generated makefiles all show the following:
Code: Select all
LINKCMD = $(CC) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(ARCH) $(LIBS) $(LDFLAGS)
see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347650