Browse Source

Add CXXFLAGS

Alois Mahdal 7 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
 %autosetup -n %{name}-%{version}
23
 %autosetup -n %{name}-%{version}
24
 
24
 
25
 %build
25
 %build
26
+CXXFLAGS="${CXXFLAGS:-%{optflags}}"; export CXXFLAGS
26
 cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
27
 cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
27
 
28
 
28
 %install
29
 %install