ibmswtpm2/makefile.patch
Michal Suchanek a37c14d9da Accepting request 566382 from home:vitezslav_cizek:branches:security
- Update to upstream version 1119
  * adds openssl 1.1 support (bsc#1066916)
- drop patches (upstream):
  * bits.patch
  * fix_unreferenced_macro-gcc7.patch

OBS-URL: https://build.opensuse.org/request/show/566382
OBS-URL: https://build.opensuse.org/package/show/security/ibmswtpm2?expand=0&rev=13
2018-01-18 08:23:42 +00:00

27 lines
789 B
Diff

Index: ibmswtpm2-1119/src/makefile
===================================================================
--- ibmswtpm2-1119.orig/src/makefile 2018-01-16 12:46:54.412486803 +0100
+++ ibmswtpm2-1119/src/makefile 2018-01-16 12:48:38.498125716 +0100
@@ -41,17 +41,17 @@
CC = /usr/bin/gcc
-CCFLAGS = -Wall \
+CCFLAGS += -fno-strict-aliasing -fno-aggressive-loop-optimizations -Wno-unused-result \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
- -Werror -Wsign-compare \
- -c -ggdb -O0 \
+ -Werror -Wsign-compare -Wno-unused-value -Wno-aggressive-loop-optimizations \
+ -c -ggdb -O \
-DTPM_POSIX \
-D_POSIX_ \
-DTPM_NUVOTON \
-I../utils \
-I.
-LNFLAGS = -ggdb \
+LNFLAGS += -ggdb \
-DTPM_POSIX \
-DTPM_NUVOTON \
-lcrypto \