Skip to content

Commit

Permalink
mbedtls: build with PIC
Browse files Browse the repository at this point in the history
Fixes compilation with GCC12 and dependent packages for some reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
  • Loading branch information
neheb authored and chunkeey committed Jul 17, 2022
1 parent e3a1d3b commit 5dca7d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/libs/mbedtls/Makefile
Expand Up @@ -91,6 +91,7 @@ TARGET_CFLAGS += -ffunction-sections -fdata-sections
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS))

CMAKE_OPTIONS += \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DUSE_SHARED_MBEDTLS_LIBRARY:Bool=ON \
-DENABLE_TESTING:Bool=OFF \
-DENABLE_PROGRAMS:Bool=ON
Expand Down

0 comments on commit 5dca7d7

Please sign in to comment.