Skip to content

Commit

Permalink
workaround for clMathLibraries/clFFT#237
Browse files Browse the repository at this point in the history
  • Loading branch information
electroniceel committed Jun 6, 2021
1 parent 5ca2dcf commit 677a70d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion clFFT/clFFT.spec
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ developing applications that use %{name}.

%build
cd src

# -fpermissive required due to https://github.com/clMathLibraries/clFFT/issues/237
%cmake \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DBoost_USE_STATIC_LIBS=OFF \
Expand All @@ -58,7 +60,8 @@ cd src
-DBUILD_LOADLIBRARIES=ON \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_EXAMPLES=OFF \
-DBUILD_CALLBACK_CLIENT=ON
-DBUILD_CALLBACK_CLIENT=ON \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG -fpermissive"
%cmake_build

%install
Expand Down

0 comments on commit 677a70d

Please sign in to comment.