mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 22:15:45 +01:00
Fix gcc detection in check_config.h
This commit is contained in:
parent
bf8f7febd8
commit
757ca00396
@ -31,7 +31,7 @@
|
|||||||
#define POLARSSL_CHECK_CONFIG_H
|
#define POLARSSL_CHECK_CONFIG_H
|
||||||
|
|
||||||
#if defined(POLARSSL_DEPRECATED_WARNING) && \
|
#if defined(POLARSSL_DEPRECATED_WARNING) && \
|
||||||
!defined(__GCC__) && !defined(__clang__)
|
!defined(__GNUC__) && !defined(__clang__)
|
||||||
#error "POLARSSL_DEPRECATED_WARNING only works with GCC and Clang"
|
#error "POLARSSL_DEPRECATED_WARNING only works with GCC and Clang"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ CC=gcc CFLAGS='-Werror -Os' make
|
|||||||
|
|
||||||
# this is meant to cath missing #define polarssl_printf etc
|
# this is meant to cath missing #define polarssl_printf etc
|
||||||
# disable fsio to catch some more missing #include <stdio.h>
|
# disable fsio to catch some more missing #include <stdio.h>
|
||||||
msg "build: full config except platform/fsio" # ~ 30s
|
msg "build: full config except platform/fsio, make, gcc" # ~ 30s
|
||||||
cleanup
|
cleanup
|
||||||
cp "$CONFIG_H" "$CONFIG_BAK"
|
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||||
scripts/config.pl full
|
scripts/config.pl full
|
||||||
|
Loading…
Reference in New Issue
Block a user