Skip to content

Commit

Permalink
Merge pull request #7260 from cms-sw/remove-default-debug-option-thepeg
Browse files Browse the repository at this point in the history
ThePEG - remove `-g` flag from the compilation
  • Loading branch information
smuzaffar committed Sep 1, 2021
2 parents 77ebe72 + 9c9a6b8 commit 3d22ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thepeg.spec
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ sed -i -e "s|-lgslcblas|-lopenblas|" ./configure
--with-fastjet=$FASTJET_ROOT \
--without-javagui \
--prefix=%{i} \
--disable-readline CXX="$CXX" CC="$CC" LDFLAGS="-L${OPENBLAS_ROOT}/lib"
--disable-readline CXX="$CXX" CC="$CC" LDFLAGS="-L${OPENBLAS_ROOT}/lib" CXXFLAGS="-g0 -O2 -DNDEBUG" CFLAGS="-g0 -O2 -DNDEBUG"

make %{makeprocesses}

Expand Down

0 comments on commit 3d22ad7

Please sign in to comment.