File: gcc48

package info (click to toggle)
foundry 0.0.20130809-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 632 kB
  • ctags: 2,340
  • sloc: cpp: 6,376; yacc: 366; makefile: 192; lex: 184
file content (17 lines) | stat: -rw-r--r-- 478 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix build with gcc 4.8
Author: Simon Richter <sjr@debian.org>
Last-Update: 2013-08-09

--- foundry-0.0.20130809.orig/lang/Makefile
+++ foundry-0.0.20130809/lang/Makefile
@@ -192,8 +192,8 @@ stage1/%.o: stage1/%.cpp
 %_parse.cpp: %.yy
 	$(YACC) -o $@ $<
 
-stage1/%_lex.o: CXXFLAGS+=-Wno-unused
-stage2/%_lex.o: CXXFLAGS+=-Wno-unused
+stage1/%_lex.o: CXXFLAGS+=-Wno-unused-parameter
+stage2/%_lex.o: CXXFLAGS+=-Wno-unused-parameter
 
 stage1/.%.d:
 	@mkdir -p $(@D)