Merge branch 'bugfix/set_cppflags' into 'master'

Ensure that C++ and C compilers get the same preprocessor setup (from github)

See merge request !1459
This commit is contained in:
Angus Gratton
2017-10-26 20:21:49 +08:00
3 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
CFLAGS += -DWITH_POSIX CPPFLAGS += -DWITH_POSIX

View File

@@ -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"'

View File

@@ -1 +1 @@
CFLAGS += -DHAVE_CONFIG_H CPPFLAGS += -DHAVE_CONFIG_H