fix gcc build issue

This commit is contained in:
CJ Cobb
2021-07-02 19:30:17 +00:00
parent 37abec1401
commit 493ec14ad1

View File

@@ -44,7 +44,7 @@ if(NOT cassandra)
GIT_REPOSITORY https://github.com/krb5/krb5.git GIT_REPOSITORY https://github.com/krb5/krb5.git
GIT_TAG master GIT_TAG master
UPDATE_COMMAND "" UPDATE_COMMAND ""
CONFIGURE_COMMAND autoreconf src && ./src/configure --enable-static --disable-shared CONFIGURE_COMMAND autoreconf src && CFLAGS=-fcommon ./src/configure --enable-static --disable-shared
BUILD_IN_SOURCE 1 BUILD_IN_SOURCE 1
BUILD_COMMAND make BUILD_COMMAND make
INSTALL_COMMAND "" INSTALL_COMMAND ""