瀏覽代碼

Add CXXFLAGS

Alois Mahdal 6 年之前
父節點
當前提交
4555ba7244
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      slop.spec.in

+ 1
- 0
slop.spec.in 查看文件

@@ -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