- GCC:*_*_IA32_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS)\r
- GCC:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -DNO_MSABI_VA_FUNCS\r
- GCC:*_*_IPF_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS)\r
- GCC:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS)\r
- GCC:*_*_AARCH64_CC_FLAGS = $(OPENSSL_FLAGS)\r
+ #\r
+ # Suppress the following build warnings in openssl so we don't break the build with -Werror\r
+ # -Werror=maybe-uninitialized: there exist some other paths for which the variable is not initialized.\r
+ # -Werror=format: Check calls to printf and scanf, etc., to make sure that the arguments supplied have\r
+ # types appropriate to the format string specified.\r
+ # -Werror=unused-but-set-variable: Warn whenever a local variable is assigned to, but otherwise unused (aside from its declaration).\r
+ #\r
+ GCC:*_*_IA32_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable\r
+ GCC:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-error=format -Wno-format -Wno-error=unused-but-set-variable -DNO_MSABI_VA_FUNCS\r
+ GCC:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable\r
+ GCC:*_*_AARCH64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-format -Wno-error=unused-but-set-variable\r
+ GCC:*_CLANG35_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized\r
+ GCC:*_CLANG38_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized\r