Don't consider warnings as errors for the moment
[u/mrichter/AliRoot.git] / HLT / libAliL3Hough.pkg
index 028c7644581c833b4fa04e4fd57b931b809c5426..0315565461ab1b64883f84677424c11a7891f004 100644 (file)
@@ -33,8 +33,8 @@ HDRS:= $(SRCS:.cxx=.h) $(HLTEHDRS)
 DHDR:= hough/AliL3HoughLinkDef.h
 
 EDEFINE      := ${HLTDEFS} -DROWHOUGH
-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