X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=0b06a4cf871143983c01c576137e487036a9319c;hb=e1480a2c12ff764622dd2ae1bc9bce6cd25bcbdd;hp=15e06739685b7a52312ff07ce910d9f678f2b025;hpb=2c91922ebcaced5b5418d1e0e52dbfc2b6cdc062;p=vpp.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 15e06739685..0b06a4cf871 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -70,7 +70,7 @@ list(APPEND BUILD_TYPES "release") string(CONCAT CMAKE_C_FLAGS_RELEASE "-O2 " "-fstack-protector " - "-DFORTIFY_SOURCE=2 " + "-D_FORTIFY_SOURCE=2 " "-fno-common " ) @@ -82,7 +82,7 @@ string(CONCAT CMAKE_C_FLAGS_DEBUG "-O0 " "-DCLIB_DEBUG " "-fstack-protector " - "-DFORTIFY_SOURCE=2 " + "-D_FORTIFY_SOURCE=2 " "-fno-common " )