Commit graph

86 commits

Author SHA1 Message Date
Juan RP
11a6f8a681 xbps-src: environment: set CFLAGS and LDFLAGS for the bootstrap case.
Fixes building bootstrap packages that need to find libs in masterdir
and not from the host.
2015-04-21 08:32:59 +02:00
Juan RP
313cdf6ee6 xbps-src: force reconfiguration of base-directories in sysroot.
... otherwise some required symlinks in sysroot aren't created, and this
seems to be required when cross compiling for i686.
2015-04-15 12:23:07 +02:00
Juan RP
e898f68084 environment/configure: create lib32 symlink on i686.
otherwise in cross compilation the lib32 symlink is not created, because
base-directories post-install script is skipped.
2015-04-13 09:24:27 +02:00
Christian Neukirchen
1919bb36ca common/environment/configure-args.sh: add aarch64*. 2015-03-30 18:33:43 +02:00
Juan RP
58d6bee509 environment/autoconf_cache: override tests for /dev/{u,}random. 2015-03-29 09:10:10 +02:00
Christian Neukirchen
232dbbd206 environment/configure: move ac_cv_have_decl_sys_siglist=yes from linux to glibc, as musl doesn't have it. 2015-03-22 18:39:19 +01:00
Christian Neukirchen
cd01759127 defaults.conf: move -z now to hardened-ld only. 2015-03-08 19:57:01 +01:00
Christian Neukirchen
ea96fc3cce xbps-src: pass PIE flags via -specs mechanism, avoids breaking static build. 2015-03-07 20:59:50 +01:00
Juan RP
9870868948 xbps-src: added "build_pie" var to build PIE binaries. 2015-03-04 17:00:19 +01:00
Juan RP
46a8da47f0 environment/autoconf-cache: add more more overrides for gnulib.
Close #1046
2015-03-02 15:29:42 +01:00
Duncaen
ecdfaf50ee common-linux: fix tests for coreutils 2015-03-02 15:27:15 +01:00
Juan RP
2d5a7a9323 environment/autoconf_cache: override /dev/{ptc,ptmx} tests. 2015-02-26 09:24:22 +01:00
Juan RP
e9c2c65102 environment/autoconf_cache: override some more tests for gnulib. 2015-02-25 19:04:27 +01:00
Juan RP
e68ead38a0 environment/gnu-configure-args: only set args in two specific cases.
Only set configure_args if build_style is unset or build_style=gnu-configure.
In other cases it's not really necessary to set them.
2014-11-23 11:16:39 +01:00
Juan RP
9963231e31 xbps-src: only set --{build,host} if build_style is unset or gnu-configure. 2014-11-12 09:16:54 +01:00
Juan RP
9a168e4463 xbps-src: introduce XBPS_TRIPLET and set it in the build-profiles.
This is for cases where host does not match build environment (x86_64 building for x86).
So we just force build/host triplet in native builds.
2014-11-11 22:24:40 +01:00
Juan RP
f7146ea652 environment/pkg-config: unset PKG_CONFIG; find it via PATH instead.
... otherwise some pkgs fail to build due to host vs target (gtk+3).
2014-09-28 08:01:18 +02:00
Juan RP
8ddf256957 xbps-src: set PKG_CONFIG env var to the triplet-pkg-config wrapper. 2014-09-26 12:07:23 +02:00
Juan RP
535117078c xbps-src: create a <cross-target>-pkg-config wrapper when cross compiling.
This wrapper sets the env vars required for proper cross compiling, rather
than always setting them.
2014-09-25 14:38:16 +02:00
Juan RP
cc4a8b9597 environment/configure: override some more funcs. 2014-09-17 03:49:27 +02:00
Juan RP
7d41c7bcd8 environment/autoconf_cache: switch to off_t=4 for 32bit archs;
Assume that _FILE_OFFSET_BITS=64 is always defined to get proper 64bit support.

Setting it to 8 was giving unexpected results in e2fsprogs, which does not
defined _FILE_OFFSET_BITS=64, and checks for sizeof(off_t) >= sizeof(long long)
to use lseek() rather than lseek64().
2014-08-19 18:28:11 +02:00
Juan RP
4a941c6dce environment/gnu-configure-args: only set --libdir if build_style unset or gnu-configure. 2014-06-11 09:24:44 +02:00
Juan RP
6db4f4a209 common/environment: move some linux defs to common-linux, for musl. 2014-04-26 00:25:37 +02:00
Juan RP
77451b1845 Use --libdir=/usr/lib32 on x86 and create/remove the symlink via hooks.
This is to make all pkgs that use ${configure_args} work without changes
to the templates on x86_64.
2014-04-05 11:52:22 +02:00
Juan RP
0026342862 Infrastructure changes to allow unsetting template vars/funcs.
xbps-src-112 does not unset those vars/funcs anymore, so it's a work
that must be done via common/environment/setup{,-subpkg}.
2014-03-19 09:03:21 +01:00
Juan RP
083012db40 environment/configure: append cross gnu-configure args to configure_args even if build_style isn't set. 2014-03-11 19:14:19 +01:00
Juan RP
7a9b2552f9 common/environment: add configure cache overrides for socat. 2014-03-10 11:31:23 +01:00
Juan RP
8e2b6811c1 common/environment/configure: only set up cross --host/--sysroot vars for build_style=gnu-configure. 2014-03-05 12:01:49 +01:00
Juan RP
00f2680291 common/environment: override wcwidth_broken autoconf test. 2014-02-27 15:16:26 +01:00
Juan RP
9314bae3ef common/environment: override some configure vars for bash. 2014-02-27 07:13:10 +01:00
Juan RP
b1db0ccf08 configure/autoconf_cache: switch ac_cv_sizeof_off_t to 8 on 32bit platforms.
We'll assume that all code is compiled with _FILE_OFFSET_BITS=64...
2014-02-21 17:19:23 +01:00
Juan RP
5793380e1f autoconf_cache/common-linux: override ac_cv_file__dev_ptmx. 2014-02-18 09:20:10 +01:00
Juan RP
837c4c21fb environment/configure: added autoconf cache vars for varnish. 2014-02-16 11:21:06 +01:00
Juan RP
09703ae245 environment/configure/gnu-configure-args.sh: also use common-linux for glibc. 2014-02-14 14:37:18 +01:00
Juan RP
d93531f326 common/environment: create dummy files for all dirs to not remove them. 2014-02-11 18:22:46 +01:00
Juan RP
16ed344975 Update environment shell snippets for xbps-src>=101. 2014-02-11 11:09:16 +01:00