build does not respect LDFLAGS

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
hasufell
Wayist
Posts: 16
Joined: Thu Aug 29, 2013 2:00 pm

build does not respect LDFLAGS

#1 Post by hasufell »

LDFLAGS only apply to libraries that come _after_ them in the linking command

the generated makefiles all show the following:

Code: Select all

  LINKCMD    = $(CC) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(ARCH) $(LIBS) $(LDFLAGS)
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

Post Reply