components/flex/patches/001-flex-2.5.35.test-pthread.Makefile.in.patch
author Yiteng Zhang <yiteng.zhang@oracle.com>
Thu, 10 Sep 2015 14:20:06 -0700
changeset 4854 5d61c495aa75
parent 1275 03b86a2f9021
permissions -rw-r--r--
21805790 python-2/logilab-astng-26 & python-2/logilab-common-26 depend on obsolete pkgs

--- flex-2.5.35/tests/test-pthread/Makefile.in	2008-02-26 13:34:09.000000000 -0800
+++ flex-2.5.35/tests/test-pthread/Makefile.in	2013-03-19 12:37:17.679581930 -0700
@@ -346,7 +346,7 @@
 	$(FLEX) $(LFLAGS) $<
 
 $(testname)$(EXEEXT): $(OBJS)
-	$(CC) -o $@ $(LDFLAGS) $(OBJS) $(LOADLIBES)
+	$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(OBJS) $(LOADLIBES)
 
 test: $(testname)$(EXEEXT)
 	./$(testname) $(srcdir)/test-*.input