diff options
author | jiyong.min <jiyong.min@samsung.com> | 2023-11-08 11:33:51 +0900 |
---|---|---|
committer | Jiyong Min <jiyong.min@samsung.com> | 2023-11-08 05:47:06 +0000 |
commit | b97d755e1f4ffd874a3a3226b1318e79a6ae7074 (patch) | |
tree | b0e56bc824e96bf75af5c708618ace70ea8e2159 | |
parent | c8c3e8598046e12a260f27ff52077efdfd4d4da8 (diff) | |
download | giflib-accepted/tizen/7.0/base/20231109.045403.tar.gz giflib-accepted/tizen/7.0/base/20231109.045403.tar.bz2 giflib-accepted/tizen/7.0/base/20231109.045403.zip |
Add armoring optionaccepted/tizen/7.0/base/20231109.045403tizen_7.0_baseaccepted/tizen_7.0_base
Change-Id: I37fb8f14c386bd5e85bc75e86657c8902792cc4e
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | packaging/giflib.spec | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -9,6 +9,10 @@ OFLAGS = -O0 -g OFLAGS = -O2 CFLAGS = -std=gnu99 -fPIC -Wall -Wno-format-truncation $(OFLAGS) +ifeq ($(__TIZEN__),true) +CFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong +LDFLAGS = -Wl,-z,relro +endif SHELL = /bin/sh TAR = tar diff --git a/packaging/giflib.spec b/packaging/giflib.spec index 22fd71f..05be2fc 100644 --- a/packaging/giflib.spec +++ b/packaging/giflib.spec @@ -2,7 +2,7 @@ %bcond_with x Name: giflib Version: 5.2.1 -Release: 0 +Release: 1 License: MIT Summary: Library for manipulating GIF format image files Url: http://sourceforge.net/projects/giflib/ @@ -58,7 +58,7 @@ You'll also need to install the giflib package. cp %{SOURCE1001} . %build -make libgif.so libutil.so DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr LIBDIR=%{_libdir} +make libgif.so libutil.so DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr LIBDIR=%{_libdir} __TIZEN__=true %install make install-lib install-include install-bin DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr LIBDIR=%{_libdir} |