From: DongHun Kwak Date: Tue, 23 Jan 2018 04:40:19 +0000 (+0900) Subject: Add relro compile option X-Git-Tag: submit/tizen_4.0/20180123.044728^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_4.0;p=platform%2Fupstream%2Fleveldb.git Add relro compile option [Model] All [BinType] AP [Customer] OPEN [Issue#] N/A [Request] N/A [Occurrence Version] N/A [Problem] not adjust relro option at library [Cause & Measure] add relro option at LDFLAGS [Checking Method] [Team] Open Source Management and Setting Part [Developer] dh0128.kwak [Solution company] Samsung [Change Type] N/A Change-Id: I3bf6b0e532efeb225abf7b63f9e20bdc43a52d46 Signed-off-by: DongHun Kwak --- diff --git a/build_detect_platform b/build_detect_platform index d2a20ce..596062f 100755 --- a/build_detect_platform +++ b/build_detect_platform @@ -60,7 +60,7 @@ PLATFORM_CXXFLAGS= PLATFORM_LDFLAGS= PLATFORM_LIBS= PLATFORM_SHARED_EXT="so" -PLATFORM_SHARED_LDFLAGS="-shared -Wl,-soname -Wl," +PLATFORM_SHARED_LDFLAGS="-shared -Wl,-z,relro -Wl,-soname -Wl," PLATFORM_SHARED_CFLAGS="-fPIC" PLATFORM_SHARED_VERSIONED=true PLATFORM_SSEFLAGS=