diff options
Diffstat (limited to 'tests/test-c++-basic/Makefile.am')
-rw-r--r-- | tests/test-c++-basic/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-c++-basic/Makefile.am b/tests/test-c++-basic/Makefile.am index dcb76ed..ccfc884 100644 --- a/tests/test-c++-basic/Makefile.am +++ b/tests/test-c++-basic/Makefile.am @@ -36,10 +36,10 @@ scanner.cpp: $(srcdir)/scanner.l $(FLEX) $(LFLAGS) $< $(testname)$(EXEEXT): $(OBJS) - $(CXX) -o $@ $(LDFLAGS) $(OBJS) $(LOADLIBES) + $(CXX) $(CXXFLAGS) -o $@ $(LDFLAGS) $(OBJS) $(LOADLIBES) test: $(testname)$(EXEEXT) ./$(testname)$(EXEEXT) < $(srcdir)/test.input .cpp.o: - $(CXX) -c -o $@ $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) $< + $(CXX) $(CXXFLAGS) -c -o $@ $(AM_CPPFLAGS) $(CPPFLAGS) $< |