Skip to content

Commit 547f146

Browse files
committed
add '-fno-ident' to CFLAGS
1 parent 193a199 commit 547f146

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tools/build_openblas.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ OPENBLAS_VERSION=$(git describe --tags --abbrev=8)
9696
patch -p1 < ../patches-windows/openblas-make-libs.patch
9797

9898
# Build OpenBLAS
99+
CFLAGS="$CFLAGS -fvisibility=protected -fno-ident" \
99100
make BINARY=$build_bits DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 \
100101
NUM_THREADS=24 NO_WARMUP=1 NO_AFFINITY=1 CONSISTENT_FPCSR=1 \
101102
BUILD_LAPACK_DEPRECATED=1 TARGET=PRESCOTT BUFFERSIZE=20\

tools/build_steps.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,13 @@ function do_build_lib {
174174
patch_source
175175
echo start building
176176
if [ -v dynamic_list ]; then
177-
CFLAGS="$CFLAGS -fvisibility=protected -Wno-uninitialized" \
177+
CFLAGS="$CFLAGS -fvisibility=protected -Wno-uninitialized -fno-ident" \
178178
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
179179
USE_OPENMP=0 NUM_THREADS=64 \
180180
DYNAMIC_LIST="$dynamic_list" \
181181
BINARY=$bitness $interface_flags $target_flags shared 2>&1 1>/dev/null
182182
else
183-
CFLAGS="$CFLAGS -fvisibility=protected -Wno-uninitialized" \
183+
CFLAGS="$CFLAGS -fvisibility=protected -Wno-uninitialized -fno-ident" \
184184
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
185185
USE_OPENMP=0 NUM_THREADS=64 \
186186
BINARY=$bitness $interface_flags $target_flags shared 2>&1 1>/dev/null

0 commit comments

Comments
 (0)