Don't consider warnings as errors for the moment
[u/mrichter/AliRoot.git] / HLT / libAliL3Comp.pkg
index 3dcf1daeba173d47b4410036f52e0670a1db0af9..58d72b2ca10ed39c2fc28cca7f82764000239c6c 100644 (file)
@@ -22,8 +22,8 @@ CHDRS:= $(CSRCS:.c=.h)
 DHDR:= comp/AliL3CompLinkDef.h
 
 EDEFINE      := ${HLTDEFS}
-PACKCXXFLAGS := $(CXXFLAGS) ${HLTDEFS} #??
-PACKCFLAGS   := $(CFLAGS)   ${HLTDEFS} #??
-PACKDCXXFLAGS:= $(CXXFLAGS) ${HLTDEFS} #??
+PACKCXXFLAGS := $(filter-out -pedantic-errors, $(filter-out -Werror,$(CXXFLAGS))) ${HLTDEFS}
+PACKCFLAGS   := $(filter-out -ansi,$(filter-out -pedantic-errors, $(filter-out -Werror,$(CFLAGS))))   ${HLTDEFS}
+PACKDCXXFLAGS:= $(filter-out -pedantic-errors, $(filter-out -Werror,$(CXXFLAGS))) ${HLTDEFS}
 
 EINCLUDE:= HLT/src HLT/hough HLT/comp HLT/misc TPC STEER CONTAINERS