File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -686,6 +686,7 @@ OPTFLAGS="-pipe -ffunction-sections -fdata-sections"
686686check_set_contains " -fno-omit-frame-pointer" $BUILD_EXTRA_CFLAGS $BUILD_DEBUG \
687687 || OPTFLAGS=" $OPTFLAGS -fomit-frame-pointer"
688688OPTFLAGS=$( join_params $BUILD_DEBUG $OPTLEVEL $OPTNDEBUG $OPTFLAGS )
689+ LIBRHASH_OPTFLAGS=$OPTFLAGS
689690
690691# test that compiler works with options specified by command line
691692log_start " compiler working with provided options"
@@ -780,7 +781,7 @@ if test "$OPT_SHANI" = "auto"; then
780781 " -msse4 -msha" ;
781782 then
782783 HAS_X86_SSE4_SHANI=yes
783- OPTFLAGS =$( join_params $OPTFLAGS -msse4 -msha)
784+ LIBRHASH_OPTFLAGS =$( join_params $LIBRHASH_OPTFLAGS -msse4 -msha)
784785 LIBRHASH_DEFINES=$( join_params $LIBRHASH_DEFINES -DRHASH_SSE4_SHANI)
785786 fi
786787 fi
@@ -1009,7 +1010,7 @@ SHARED_LIB_MODE = $SHARED_LIB_MODE
10091010EXTRA_INSTALL_LIBSHARED = $EXTRA_INSTALL_LIBSHARED
10101011EXTRA_UNINSTALL_LIBSHARED = $EXTRA_UNINSTALL_LIBSHARED
10111012
1012- OPTFLAGS = $OPTFLAGS
1013+ OPTFLAGS = $LIBRHASH_OPTFLAGS
10131014OPTLDFLAGS = $WIN_LDFLAGS
10141015WARN_CFLAGS = $WARN_CFLAGS
10151016ADDCFLAGS = $BUILD_EXTRA_CFLAGS
You can’t perform that action at this time.
0 commit comments