SHA256
10
0
forked from pool/pythia
Files
pythia/pythia-honour-env-cxxflags.patch
Dmitry Roshchin bc4c8b1d9b * Update to version 8.313.
* Minor rebase of all patches for update.
* Major rebase of pythia-examples-link-gmp.patch to apply against updated make file.
* Revise disabled tests for %check.

OBS-URL: https://build.opensuse.org/package/show/science/pythia?expand=0&rev=63
2025-03-25 06:11:40 +00:00

14 lines
691 B
Diff

Index: pythia8313/configure
===================================================================
--- pythia8313.orig/configure
+++ pythia8313/configure
@@ -327,7 +327,7 @@ if [ "$ARCH" != "LINUX" ] && [ "$ARCH" !
warn "Unknown architecture $ARCH, set as LINUX."; ARCH="LINUX"; fi
if [ -z "$CXX" ]; then warn "CXX not set, using g++."; CXX="g++"; fi
if [ -z "$CXX_COMMON" ]; then
- CXX_COMMON="${ENABLE_DEBUG}-std=c++11 -pedantic -W -Wall -Wshadow -fPIC"
+ CXX_COMMON="${CXXFLAGS} ${ENABLE_DEBUG}-std=c++11 -pedantic -W -Wall -Wshadow -fPIC"
CXX_COMMON="${CXX_COMMON} -pthread"; fi
if [ -z "$CXX_SHARED" ]; then
if [ "$ARCH" = "LINUX" ]; then CXX_SHARED="-shared"; fi