]> git.pld-linux.org Git - packages/libtomcrypt.git/commitdiff
build with our cflags
authorElan Ruusamäe <glen@delfi.ee>
Sun, 25 Jan 2015 17:59:08 +0000 (19:59 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 25 Jan 2015 17:59:14 +0000 (19:59 +0200)
libtomcrypt-makefile.patch [new file with mode: 0644]
libtomcrypt.spec

diff --git a/libtomcrypt-makefile.patch b/libtomcrypt-makefile.patch
new file mode 100644 (file)
index 0000000..c8b12e6
--- /dev/null
@@ -0,0 +1,17 @@
+--- libtomcrypt-1.17.orig/makefile.shared      2007-05-12 08:46:25.000000000 -0600
++++ libtomcrypt-1.17/makefile.shared   2007-06-27 21:56:29.000000000 -0600
+@@ -29,10 +29,12 @@
+ ifndef IGNORE_SPEED
+ # optimize for SPEED
+-CFLAGS += -O3 -funroll-loops
++#   removed for building in Fedora
++#CFLAGS += -O3 -funroll-loops
+ # add -fomit-frame-pointer.  hinders debugging!
+-CFLAGS += -fomit-frame-pointer
++#   removed for building in Fedora
++#CFLAGS += -fomit-frame-pointer
+ # optimize for SIZE
+ #CFLAGS += -Os -DLTC_SMALL_CODE
index 25c9520a56803a733f76320ee860bb9b02a37594..4f47d273f48e67cc83f6f8b406d90e2ff939d706 100644 (file)
@@ -12,6 +12,7 @@ Group:                Libraries
 Source0:       http://libtom.org/files/crypt-%{version}.tar.bz2
 # Source0-md5: cea7e5347979909f458fe7ebb5a44f85
 Patch0:                %{name}-link.patch
+Patch1:                %{name}-makefile.patch
 URL:           https://github.com/libtom/libtomcrypt
 %{?with_ltm:BuildRequires:     libtommath-devel}
 BuildRequires: libtool >= 2:1.5
@@ -58,6 +59,7 @@ Statyczna biblioteka LibTomCrypt.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 CFLAGS="%{rpmcflags} %{?with_ltm:-DLTC_NO_ASM -DUSE_LTM -DLTM_DESC}" \
This page took 0.107915 seconds and 4 git commands to generate.