Commit graph

9 commits

Author SHA1 Message Date
John
ea2c703153 common/environment/build: set CCACHE_BASEDIR to wrksrc
this will rewrite total paths to be relative to CCACHE_BASEDIR before caching,
helps prevent cache misses due to changed wrksrc with build systems like cmake
that use total paths in their Makefiles
2020-06-26 15:09:41 -07:00
Juan RP
e97de5b5d3 env/build: get rid of timestamp-macros.sh (dangling symlink). 2016-04-27 16:53:47 +02:00
Enno Boland
3c04642877 environment/build: overwrite __DATE__, __TIME__, and __TIMESTAMP__ macros.
This commit overwrites timestamps that depend on timestamps with the
commit date of a package.
2016-03-01 15:33:09 +01:00
Juan RP
784f75931d xbps-src: move compiler/linker defaults to env/hardening.sh.
The user can still set his/her defaults via etc/conf, and per
package in the templates.
2015-11-17 17:13:12 +01:00
Juan RP
4bb30370dd xbps-src: set up C{,XX}FLAGS and LDFLAGS correctly for cross compilation.
This way there's no need to set LDFLAGS per-pkg just to fix cross compilation
in multiple packages.
2015-10-17 11:05:21 +02:00
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
9870868948 xbps-src: added "build_pie" var to build PIE binaries. 2015-03-04 17:00:19 +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