mirror of https://github.com/ecmwf/eccodes.git
Testing: issue with clang sanitize compile flags
This commit is contained in:
parent
9c1e18137e
commit
6007e6b205
|
@ -34,6 +34,8 @@ if command -v pkg-config >/dev/null 2>&1; then
|
|||
COMPILER=`pkg-config --variable=CC $PKGCONFIG_FILE`
|
||||
FLAGS_COMPILER=`pkg-config --cflags $PKGCONFIG_FILE`
|
||||
FLAGS_LINKER=`pkg-config --libs $PKGCONFIG_FILE`
|
||||
#CMAKE_C_FLAGS=`grep CMAKE_C_FLAGS:STRING $CACHE_FILE | cut -d'=' -f2-`
|
||||
#FLAGS_COMPILER="$FLAGS_COMPILER $CMAKE_C_FLAGS"
|
||||
|
||||
# The pkgconfig variables refer to the install directory. Change to build dir
|
||||
BUILD_DIR=`grep -w eccodes_BINARY_DIR $CACHE_FILE | cut -d'=' -f2`
|
||||
|
|
|
@ -35,6 +35,8 @@ if command -v pkg-config >/dev/null 2>&1; then
|
|||
COMPILER=`pkg-config --variable=CC $PKGCONFIG_FILE`
|
||||
FLAGS_COMPILER=`pkg-config --cflags $PKGCONFIG_FILE`
|
||||
FLAGS_LINKER=`pkg-config --libs $PKGCONFIG_FILE`
|
||||
#CMAKE_C_FLAGS=`grep CMAKE_C_FLAGS:STRING $CACHE_FILE | cut -d'=' -f2-`
|
||||
#FLAGS_COMPILER="$FLAGS_COMPILER $CMAKE_C_FLAGS"
|
||||
|
||||
# The pkgconfig variables refer to the install directory. Change to build dir
|
||||
BUILD_DIR=`grep -w eccodes_BINARY_DIR $CACHE_FILE | cut -d'=' -f2`
|
||||
|
|
Loading…
Reference in New Issue