components/flex/patches/001-flex-2.5.35.test-pthread.Makefile.in.patch
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Mon, 04 May 2015 18:32:20 -0500
changeset 4251 2bf7e2c1ca74
parent 1275 03b86a2f9021
permissions -rw-r--r--
21029374 probably shouldn't overload TMP_SUFFIXES in userland fragments

--- 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