diff options
author | Helmut Grohne <helmut@subdivi.de> | 2018-03-25 13:36:47 +0200 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-10 13:45:03 -0700 |
commit | 75b7bd5e9799f7e353fdfd01bf5d1e44cb1632a5 (patch) | |
tree | 67ae2727c072b3ccad00c2e2c1a7ec5efc97a2ea | |
parent | 1fe3389601d40ac732cb9e0a6f7737111a8dbe91 (diff) | |
download | zxcvbn-c-75b7bd5e9799f7e353fdfd01bf5d1e44cb1632a5.tar.gz |
fix crossbuilding zxcvbn-c
Gbp-Pq: Name cross.patch
-rw-r--r-- | makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,6 +5,7 @@ CXXFLAGS ?= -O2 -Wall -Wextra CC ?= gcc AR ?= ar CXX ?= g++ +CXX_FOR_BUILD ?= $(CXX) # need zxcvbn.h prior to package installation CPPFLAGS += -I. @@ -61,7 +62,7 @@ dict-crc.h: dictgen $(WORDS) ./dictgen -b -o zxcvbn.dict -h dict-crc.h $(WORDS) dictgen: dict-generate.cpp makefile - $(CXX) $(CPPFLAGS) -std=c++11 $(CXXFLAGS) \ + $(CXX_FOR_BUILD) $(CPPFLAGS) -std=c++11 $(CXXFLAGS) \ -o dictgen dict-generate.cpp $(LDFLAGS) test-c++inline: test.c zxcvbn-c++inline.o |