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
commit 3338f1074f
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
# 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