]> git.pld-linux.org Git - packages/chntpw.git/commitdiff
patch Makefile for our optflags master auto/th/chntpw-1.00-1
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 11 Sep 2018 07:51:28 +0000 (10:51 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Tue, 11 Sep 2018 07:52:05 +0000 (10:52 +0300)
chntpw.spec
makefile.patch [new file with mode: 0644]

index 62cd03bf4787cb092c4b6643ef721da61cc436ee..617a860602b6eb59778752637824c3b05ee7fb25 100644 (file)
@@ -66,7 +66,7 @@ fi
 %build
 %{__make} chntpw cpnt reged \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} -DUSEOPENSSL -Wall"
+       OPTFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
diff --git a/makefile.patch b/makefile.patch
new file mode 100644 (file)
index 0000000..8d56754
--- /dev/null
@@ -0,0 +1,23 @@
+--- chntpw-140201/Makefile~    2014-02-01 17:54:38.000000000 +0200
++++ chntpw-140201/Makefile     2018-09-11 10:47:54.492622319 +0300
+@@ -13,8 +13,8 @@
+ CC=gcc
+ # Force 32 bit
+-CFLAGS= -DUSEOPENSSL -g -I. -I$(OSSLINC) -Wall -m32 
+-OSSLLIB=$(OSSLPATH)/lib
++CFLAGS= -DUSEOPENSSL -g -I. -I$(OSSLINC) -Wall $(OPTFLAGS)
++#OSSLLIB=$(OSSLPATH)/lib
+ # 64 bit if default for compiler setup
+ #CFLAGS= -DUSEOPENSSL -g -I. -I$(OSSLINC) -Wall
+@@ -23,8 +23,7 @@
+ # This is to link with whatever we have, SSL crypto lib we put in static
+ #LIBS=-L$(OSSLLIB) $(OSSLLIB)/libcrypto.a
+-LIBS=-L$(OSSLLIB)
+-
++#LIBS=-L$(OSSLLIB)
+ all: chntpw chntpw.static cpnt reged reged.static samusrgrp samusrgrp.static sampasswd sampasswd.static
This page took 0.061073 seconds and 4 git commands to generate.