]> wagner.pp.ru Git - openssl-gost/rpm.git/commitdiff
Make workaround to let compile on the system without C++ compiler
authorVictor Wagner <vitus@wagner.pp.ru>
Wed, 2 Aug 2017 11:14:54 +0000 (14:14 +0300)
committerVictor Wagner <vitus@wagner.pp.ru>
Wed, 2 Aug 2017 11:14:54 +0000 (14:14 +0300)
Makefile

index ff41ace51f8803007ce0aa27cecf11ad2780866b..c5920c50b9c4578b5e54e4a85fccfd62285110aa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,10 +9,10 @@ rpm: openssl-gost-engine-$(VERSION)-1$(DIST).$(ARCH).rpm
 openssl-gost-engine-$(VERSION)-1$(DIST).$(ARCH).rpm: $(RPMTOP)/RPMS/$(ARCH)/openssl-gost-engine-$(VERSION)-1$(DIST).$(ARCH).rpm
        cp $^ $@
 
-$(RPMTOP)/RPMS/$(ARCH)/openssl-gost-engine-$(VERSION)-1.$(ARCH).rpm: $(RPMTOP)/SOURCES/openssl-gost-engine-$(VERSION).tar.bz2 $(RPMTOP)/SPECS/openssl-gost-engine.spec
+$(RPMTOP)/RPMS/$(ARCH)/openssl-gost-engine-$(VERSION)-1$(DIST).$(ARCH).rpm: $(RPMTOP)/SOURCES/openssl-gost-engine-$(VERSION).tar.bz2 $(RPMTOP)/SPECS/openssl-gost-engine.spec
        mkdir -p $(RPMTOP)/RPMS/$(ARCH) || true
        mkdir -p $(RPMTOP)/SRPMS
-       rpmbuild -ba $(RPMTOP)/SPECS/openssl-gost-engine.spec
+       CXX=/bin/true rpmbuild -ba $(RPMTOP)/SPECS/openssl-gost-engine.spec
 
 $(RPMTOP)/SPECS/openssl-gost-engine.spec: openssl-gost-engine.spec
        mkdir -p $(RPMTOP)/SPECS || true