depends: tor_linux: build static binary on x86_64

This commit is contained in:
tobtoht 2023-11-14 00:45:37 +01:00
parent ae366ed943
commit 37f2971dc6
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -11,6 +11,7 @@ define $(package)_set_vars
$(package)_config_opts+=--with-libevent-dir=$(host_prefix) --with-openssl-dir=$(host_prefix) $(package)_config_opts+=--with-libevent-dir=$(host_prefix) --with-openssl-dir=$(host_prefix)
$(package)_config_opts+=--with-zlib-dir=$(host_prefix) --disable-tool-name-check --enable-fatal-warnings $(package)_config_opts+=--with-zlib-dir=$(host_prefix) --disable-tool-name-check --enable-fatal-warnings
$(package)_config_opts+=--prefix=$(host_prefix) $(package)_config_opts+=--prefix=$(host_prefix)
$(package)_config_opts_x86_64+=--enable-static-tor
$(package)_cflags+=-O2 $(package)_cflags+=-O2
$(package)_cxxflags+=-O2 $(package)_cxxflags+=-O2
$(package)_ldflags+=$(guix_ldflags) $(package)_ldflags+=$(guix_ldflags)