Enable CFLAGS and LDFLAGS from the command line

59 views
Skip to first unread message

Olivier Crameri

unread,
Oct 12, 2011, 10:45:15 AM10/12/11
to stp-...@googlegroups.com
Hi,

here is a tiny patch to simplify passing of extra flags from the command line.

I'd appreciate if this could be committed to the repository.

Thanks,
Olivier

--- scripts/Makefile.common (revision 1402)
+++ scripts/Makefile.common (working copy)
@@ -39,8 +39,8 @@
 endif
 
 
-LDFLAGS = $(LDFLAGS_BASE)
-CFLAGS = $(CFLAGS_BASE) $(CFLAGS_M32)
+LDFLAGS += $(LDFLAGS_BASE)
+CFLAGS += $(CFLAGS_BASE) $(CFLAGS_M32)
 
 
 #Required by minisat2.2 

Trevor Hansen

unread,
Nov 10, 2011, 7:00:23 AM11/10/11
to stp-users
Hi Olivier,

Thanks for the patch. It's included in revision 1406.

Thanks,

Trev.



On Oct 13, 1:45 am, Olivier Crameri <olivier.cram...@a3.epfl.ch>
wrote:
Reply all
Reply to author
Forward
0 new messages