mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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
@ -1 +1 @@
|
||||
CFLAGS += -DWITH_POSIX
|
||||
CPPFLAGS += -DWITH_POSIX
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Anyone compiling mbedTLS code needs the name of the
|
||||
# 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…
x
Reference in New Issue
Block a user