Browse Source

Add CXXFLAGS

Alois Mahdal 6 years ago
parent
commit
4555ba7244
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      slop.spec.in

+ 1
- 0
slop.spec.in View File

@@ -23,6 +23,7 @@ from the user and prints the region to stdout.
23 23
 %autosetup -n %{name}-%{version}
24 24
 
25 25
 %build
26
+CXXFLAGS="${CXXFLAGS:-%{optflags}}"; export CXXFLAGS
26 27
 cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
27 28
 
28 29
 %install