aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* wrappers: site: cleanup typo & link in commentsSam James2025-01-192-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* wrappers: mipsel-linux-gnu: fix ac_cv_type_uid_t cache value20240209Sam James2024-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Reported by matoro when building coreutils for mipsel-unknown-linux-gnu. If autoconf-2.72 is used, apparently this shows up, and the coreutils-9.4 dist tarball was indeed built with it... The symptoms are similar to bug #885485 but it's a different cause -- we were exporting a dodgy cache value with a missing '$': ``` configure:14771: checking for uid_t configure:14771: result: {ac_cv_type_uid_t=yes} ``` ``` ac_cv_type_uid_t='{ac_cv_type_uid_t=yes}' ``` ``` $ rg ac_cv_type_uid_t wrappers/site/mipsel-linux-gnu:115:ac_cv_type_uid_t={ac_cv_type_uid_t=yes} ``` Bug: https://bugs.gentoo.org/885485 Signed-off-by: Sam James <sam@gentoo.org>
* wrappers: fix mipsel-linux-gnu cache vars for *sys_siglist20230209Sam James2023-02-091-3/+3
| | | | | | | | | | | | | sys_siglist was removed from glibc-2.32. Before now, for mipsel-linux-gnu, we were forcing the cache var to 'yes', rather than 'no'. I suspect this test would've worked correctly even without caching anyway, but it is what it is. Default to 'no' instead of 'yes'. See also: https://lists.openembedded.org/g/openembedded-core/topic/dunfell_patch_site_make/77178472?p= Closes: https://bugs.gentoo.org/791154 Signed-off-by: Sam James <sam@gentoo.org>
* config.site: Fix tzset in Python with autoconf override20221227James Le Cuirot2022-12-271-0/+3
| | | | | | | | | The Python build assumes that tzset is broken when cross-compiling. We can assume it works under Linux. Signed-off-by: James Le Cuirot <chewi@gentoo.org> Closes: https://github.com/gentoo/crossdev/pull/8 Signed-off-by: Sam James <sam@gentoo.org>
* site: add linux-musl20220617Sam James2022-06-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | Follow-up to 8b1b79e02cc36bc6f2b5583db6aeea333fb8d59b. Sets ``` ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes ``` ... to sort out flex and a bunch of other packages, like procps. I was wondering why this never seemed to come up when doing cross for other "standard" targets which we know work and are used often; the answer is that we never had the -musl suffix CHOSTs covered. (e.g. linux-gnu already has this set.) Bug: https://bugs.gentoo.org/554032 Closes: https://bugs.gentoo.org/675368 Closes: https://bugs.gentoo.org/705800 See: 8b1b79e02cc36bc6f2b5583db6aeea333fb8d59b Signed-off-by: Sam James <sam@gentoo.org>
* config.site add support for /etc/ overridesSergei Trofimovich2018-10-201-0/+5
| | | | | | | | | | | | | | Now crossdev imports cache variables from /etc/crossdev/include/site The file format is the same as /usr/share/crossdev/include/site it is useful to drop local overrides. Reported-by: Alon Bar-Lev Bug: https://bugs.gentoo.org/264074 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* wrappers/Makefile: rename TOPDIR to SITEDIRSergei Trofimovich2018-10-201-2/+2
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* wrappers: use @TOPDIR@ and @PREFIX@ instead of __TOPDIR__ and __PREFIX__Sergei Trofimovich2018-10-201-1/+1
| | | | | | | Leave __<var>__ substitutions for runtime substitution and keep @<var>@ for 'make install' substitution. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* wrappers: prevent use of wine to convert between path typesMarty E. Plummer2018-07-312-0/+3
| | | | | | | | | | | | libtool.m4 uses lt_cv_to_host_file_cmd to store the name of a function used to convert between unix and win32 path styles; when doing a linux to mingw cross-compilation it ends up with func_convert_file_nix_to_w32 which uses the winepath utility to do the job. However, using that tool will create a wineprefix in ${CATEGORY}/${P}/homedir and potentially cause access violations in sandbox. Bug: https://bugs.gentoo.org/631492 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* site/linux: move bash_cv_job_control_missing=present from linux-gnuSergei Trofimovich2017-12-312-1/+3
| | | | | | | | | glibc, musl, uclibc and uclibc-ng all define needed signals and syscalls needed for job control. Reported-by: Felix Janda Bug: https://bugs.gentoo.org/553988 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* sire/linux: remove gl_cv_func_re_compile_pattern_working=yes from muslSergei Trofimovich2017-12-313-1/+10
| | | | | | | | re_compile_pattern is present in glibc, uclibc, uclibc-ng, but not musl Reported-by: Felix Janda Bug: https://bugs.gentoo.org/553988 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* config.site: add musl libc supportAndrew Wilcox2016-06-021-0/+1
| | | | | | | This way you can support glibc and musl targets on the same system and not have to worry about switching out site scripts. URL: https://bugs.gentoo.org/554032
* config.site: punt berkdb cache valuesMike Frysinger2015-07-162-40/+0
| | | | | | | | | | Most of these no longer exist (and were somewhat invalid to begin with), and the package appears to do the right thing now with the various tests (like falling back to link/compile tests when run fails). Punt them all. URL: https://bugs.gentoo.org/516642 Reported-by: Scott Alfter <scott@alfter.us> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* config.site: import settings from Chromium OSMike Frysinger2015-05-303-1/+9
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* config.site: fix sizes of some typesMike Frysinger2015-05-301-2/+2
| | | | | | URL: https://bugs.gentoo.org/550776 Reported-by: Sven E. <dark@verfeiert.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* config.site: fix site accumulation yet some moreMike Frysinger2015-05-271-6/+6
| | | | | | | | The previous commit was supposed to include globs at the end of the targets but forgot to add while also splitting. URL: https://bugs.gentoo.org/497626 Signed-off-by: Mike Frysinger <vapier@chromium.org>
* config.site: fix site accumulation some moreMike Frysinger2015-05-261-0/+3
| | | | | | | | The previous code also relied on partial substrings so that linux-gnueabi would load both linux-gnu and linux-gnueabi. Restore that logic as well. URL: https://bugs.gentoo.org/497626 Signed-off-by: Mike Frysinger <vapier@chromium.org>
* config.site: fix site accumulationMike Frysinger2015-05-251-6/+6
| | | | | | | | The POSIX rewrite accidentally dropped the appending logic so all the `site+=...` changed to `site=...`. Restore that. URL: https://bugs.gentoo.org/497626 Signed-off-by: Mike Frysinger <vapier@chromium.org>
* config.site: drop redundant valuesMike Frysinger2015-02-241-4/+0
| | | | | | The main linux file already sets these /dev tests. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* config.site: set /dev/{ptmx,ptc} tests for Linux systemsMike Frysinger2015-02-241-0/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* config.site: rewrite in POSIX shellMike Frysinger2014-10-301-25/+27
| | | | | URL: https://bugs.gentoo.org/497626 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* site: drop duplicated socket logicMike Frysinger2014-07-281-4/+0
| | | | | | | | The core linux-gnu site had its abstract sockets set to yes, but the mips one was specifically setting it to no. Drop the mips code. URL: http://crbug.com/394181 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* config.site: do not cache values for native buildsMike Frysinger2012-07-211-1/+2
| | | | | | | | | | Since configure settings can change over time, we don't want crossdev accidentally breaking native builds when its only designed to fix up cross builds. URL: https://bugs.gentoo.org/427184 Reported-by: Justin Lecher <jlec@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* site: copy screen cache vals into all linux targetsMike Frysinger2012-04-032-0/+22
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* site: add a common linux-gnu cacheMike Frysinger2012-03-051-0/+69
| | | | | | Cherry picked from ChromeOS overlay. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* site: set abstract sockets to yesMike Frysinger2011-08-181-1/+1
| | | | | | | | | All linux systems should support abstract sockets, so set this to yes for the linux site that enables it. Cherry picked from ChromeOS overlay. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* site: don't force 64-bit pthread_mutex_t size on other archesDiego Elio Pettenò2011-05-154-1/+3
| | | | | URL: http://bugs.gentoo.org/show_bug.cgi?id=367351 Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com>
* site: punt LFS related typesMike Frysinger2011-03-0910-10/+0
| | | | | | | | Since off_t can change sizes based on the LFS flags in use, we cannot cache its value permanently. URL: http://bugs.gentoo.org/354917 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* site: revert files to last releaseMike Frysinger2009-12-0936-1923/+541
| | | | | | I don't feel like picking through our changes and stitching with OE. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* site: sync with openembeddedMike Frysinger2008-12-0734-323/+2281
| | | | | | Just grabbed the site/ subdir of git://git.openembedded.net/openembedded Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Initial commit to crossdev repo.Robin H. Johnson2008-06-2214-0/+373