mbedtls: Cosmetic cleanups
[openwrt/openwrt.git] / package / libs / mbedtls / Makefile
index 4556ad80b46b170efff90a3be05f8a1de25a7c7b..659bf59d8898d8f2ad7fe75f39464692c515ccbc 100644 (file)
@@ -64,9 +64,9 @@ endef
 PKG_INSTALL:=1
 
 TARGET_CFLAGS += -ffunction-sections -fdata-sections
+TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS))
 
 CMAKE_OPTIONS += \
-       -DCMAKE_BUILD_TYPE:String="Release" \
        -DUSE_SHARED_MBEDTLS_LIBRARY:Bool=ON \
        -DENABLE_TESTING:Bool=OFF \
        -DENABLE_PROGRAMS:Bool=ON