Only compile statically for c3po tests the same as other tests
authorKevin Klues <klueska@cs.berkeley.edu>
Tue, 22 Feb 2011 05:29:45 +0000 (21:29 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:58 +0000 (17:35 -0700)
tests/c3po/Makefrag

index 63a8fd2..e53a1c6 100644 (file)
@@ -15,7 +15,7 @@ TESTS_EXECS  += $(patsubst $(C3PO_TESTS_DIR)/%.c, \
 
 C3PO_TESTS_LDDEPENDS := $(C3PO_TESTS_DIR)/%.c 
 
 
 C3PO_TESTS_LDDEPENDS := $(C3PO_TESTS_DIR)/%.c 
 
-STATIC := static #$(findstring static,$(C3PO_TESTS_CFLAGS))
+STATIC := $(findstring static,$(C3PO_TESTS_CFLAGS))
 $(OBJDIR)/$(C3PO_TESTS_DIR)/%: $(C3PO_TESTS_LDDEPENDS)
        @echo + cc [C3PO_TESTS] $<
        @mkdir -p $(@D)
 $(OBJDIR)/$(C3PO_TESTS_DIR)/%: $(C3PO_TESTS_LDDEPENDS)
        @echo + cc [C3PO_TESTS] $<
        @mkdir -p $(@D)