File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ OPENBLAS_VERSION=$(git describe --tags --abbrev=8)
9696patch -p1 < ../patches-windows/openblas-make-libs.patch
9797
9898# Build OpenBLAS
99+ CFLAGS=" $CFLAGS -fvisibility=protected -fno-ident" \
99100make 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\
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments