libpsm2/libpsm2-use_RPM_OPT_FLAGS.patch
Philipp Thomas 5479e0229f - Update to 10.2.2. As 0.7 isn't mentioned in the log, see
ChangeLog for any changes to the package.
- Remove libpsm2-avoid-executable-flag-on-installed-header-files.patch
  as the fix is upstream.
- Adapt the remaining patches to the changed sources.
- Generate ChangeLog from git log and package it.

OBS-URL: https://build.opensuse.org/package/show/science:HPC/libpsm2?expand=0&rev=2
2016-12-06 16:38:19 +00:00

32 lines
967 B
Diff

---
buildflags.mak | 2 +-
compat/buildflags.mak | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: buildflags.mak
===================================================================
--- buildflags.mak.orig 2016-12-06 16:11:52.060197738 +0100
+++ buildflags.mak 2016-12-06 16:12:15.004074162 +0100
@@ -80,7 +80,7 @@ else
anerr := $(error Unknown Fortran compiler arch: ${FCARCH})
endif # gfortran
-BASECFLAGS += $(BASE_FLAGS)
+BASECFLAGS += $(BASE_FLAGS) $(RPM_OPT_FLAGS)
LDFLAGS += $(BASE_FLAGS)
ASFLAGS += $(BASE_FLAGS)
Index: compat/buildflags.mak
===================================================================
--- compat/buildflags.mak.orig 2016-12-06 16:11:45.612232462 +0100
+++ compat/buildflags.mak 2016-12-06 16:11:52.060197738 +0100
@@ -71,7 +71,7 @@ else
endif # gcc4
endif # gcc
-BASECFLAGS += $(BASE_FLAGS)
+BASECFLAGS += $(BASE_FLAGS) $(RPM_OPT_FLAGS)
LDFLAGS += $(BASE_FLAGS)
ASFLAGS += $(BASE_FLAGS)