Skip to content

Commit

Permalink
Add -Wno-register to CXXFLAGS for OSX
Browse files Browse the repository at this point in the history
Trying to fix:
```
base64.cpp:124:11: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]�[0m
2024-10-08T08:41:28.5270550Z 08:41:27 �[32mBIOCONDA INFO�[0m (ERR)       int register a;�[0m
```
  • Loading branch information
martin-g authored Oct 8, 2024
1 parent 4b02765 commit 6778f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/pepnovo/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cd src/

# Below we add -Wno-narrowing because of the compilation error:
# CumulativeSeqProb.h:10:71: error: narrowing conversion of '999999999' from 'int' to 'float' inside { } [-Wnarrowing]
make -j ${CPU_COUNT} CC="${CXX}" CFLAGS="${CXXFLAGS} -Wno-narrowing " LDFLAGS="${LDFLAGS}"
make -j ${CPU_COUNT} CC="${CXX}" CFLAGS="${CXXFLAGS} -Wno-narrowing -Wno-register " LDFLAGS="${LDFLAGS}"

mkdir -p ${PREFIX}/bin
cp PepNovo_bin ${PREFIX}/bin/pepnovo

0 comments on commit 6778f8c

Please sign in to comment.