Skip to content

Commit

Permalink
Add an extra cflag to build, thanks @rainwoodman for the tip
Browse files Browse the repository at this point in the history
  • Loading branch information
sbird committed Aug 20, 2024
1 parent 2ac70cb commit 9e0e0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def build_pfft(prefix, compiler, cflags):
# Avoid enabling SSE2 by default. aarch64 doesn't have it.
# optimize="--enable-sse2"
optimize=""
line = ('CFLAGS="%s -fvisibility=hidden" ' % cflags+
line = ('CFLAGS="%s -fvisibility=hidden -Wno-error=incompatible-pointer-types" ' % cflags+
'MPICC="%s" ' % compiler +
'CC="%s" ' % compiler +
'sh %s/depends/install_pfft.sh ' % package_basedir +
Expand Down

0 comments on commit 9e0e0a0

Please sign in to comment.