Ensure that C++ and C compilers get the same preprocessor setup
CPPFLAGS is applied for both languages while CFLAGS only for C Signed-off-by: Andreas Pokorny <andreas.pokorny@siemens.com>
This commit is contained in:
parent
2c95a77cf9
commit
2a1906cf50
3 changed files with 3 additions and 3 deletions
|
@ -1 +1 @@
|
||||||
CFLAGS += -DWITH_POSIX
|
CPPFLAGS += -DWITH_POSIX
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Anyone compiling mbedTLS code needs the name of the
|
# Anyone compiling mbedTLS code needs the name of the
|
||||||
# alternative config file
|
# alternative config file
|
||||||
CFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"'
|
CPPFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"'
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
CFLAGS += -DHAVE_CONFIG_H
|
CPPFLAGS += -DHAVE_CONFIG_H
|
||||||
|
|
Loading…
Reference in a new issue