| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Closes: https://bugs.gentoo.org/608974
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
meson gets the build flags from the environment. When cross compiling it
will get the host flags from the cross file. The ebuild was not passing
the correct build flags when cross compiling.
By using tc-env_build the build environment flags are set when calling
meson. This results in not mixing host and build flags:
Example output:
Native C compiler: x86_64-pc-linux-gnu-clang (clang 7.0)
Appending CFLAGS from environment: '-O1 -pipe'
Appending LDFLAGS from environment: ' '
Appending CPPFLAGS from environment: ' '
Cross C compiler: armv7a-cros-linux-gnueabi-clang (clang 7.0)
Host machine cpu family: arm
Host machine cpu: armv7a
Target machine cpu family: arm
Target machine cpu: armv7a
Build machine cpu family: x86_64
Build machine cpu: x86_64
tc-env_build does not seem to load the actual build flags, but it's
better than using host flags as build flags.
See https://bugs.gentoo.org/653902 for upstream patch
BUG=b:78351764
BRANCH=none
TEST=emerge-grunt and verified mosys runs
Change-Id: I802b58cb089b27b9253a034ac00dd183e0f1955a
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Closes: https://bugs.gentoo.org/653902
|
|
|
|
|
|
|
|
|
|
|
| |
By handling the non-cross compiler case the meson.eclass can be
simplified to `tc-env_build "$@" || die`.
See https://bugs.gentoo.org/654424
Change-Id: I1a90da46366c490abbf7d5660bf90482c7f22747
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Closes: https://bugs.gentoo.org/654424
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use python's shlex to parse the flags and generate an array that is
usable by meson. This will pass the flags correctly when doing a cross
build.
Example cross file output:
[properties]
c_args = ['-O2', '-pipe', '-march=armv8-a+crc', '-mtune=cortex-a57.cortex-a53', '-mfpu=crypto-neon-fp-armv8', '-mfloat-abi=hard', '-g', '-fno-exceptions', '-fno-unwind-tables', '-fno-asynchronous-unwind-tables', '-clang-syntax']
c_link_args = ['-Wl,-O1', '-Wl,-O2', '-Wl,--as-needed']
cpp_args = ['-O2', '-O2', '-pipe', '-march=armv8-a+crc', '-mtune=cortex-a57.cortex-a53', '-mfpu=crypto-neon-fp-armv8', '-mfloat-abi=hard', '-g', '-fno-exceptions', '-fno-unwind-tables', '-fno-asynchronous-unwind-tables', '-clang-syntax']
cpp_link_args = ['-Wl,-O1', '-Wl,-O2', '-Wl,--as-needed']
fortran_args = ['-O2']
objc_args = []
objcpp_args = []
See https://bugs.gentoo.org/653900 for upstream patch.
BUG=b:78351764
TEST=emerge-grunt and emerge-bob and verified the flags are passed to
mosys
BRANCH=none
Change-Id: Ic3d852232ec718141b87bc0729318699f0fad4f8
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Closes: https://bugs.gentoo.org/653900
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc-8 added --disable-libssp flag. It used to be gentoo-specific
flag up to gcc-5.4.0 and gentoo was passing --disable-libssp on
all targets except solaris.
On gcc-6 gentoo stopped providing --disable-libssp flag (it became
no-op). USE=ssp became the default with gcc-6.
gcc-8 reintroduced --disable-libssp and that broke mingw. mingw
libc does not provide stack_check_*() functions and USE=ssp forces
compiler to emit those calls.
This change disallows disabling libssp on mingw if USE=ssp is set.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Functions for patching and bootstrapping are gone since some time.
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
| |
Moved to kde-sunset repository.
Closes: https://bugs.gentoo.org/637772
|
|
|
|
|
|
| |
Moved to kde-sunset repository.
Closes: https://bugs.gentoo.org/637770
|
|
|
|
| |
Trivial update, therefore not posted for review.
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/8203
|
|
|
|
| |
This reverts commit 18779934c83275fa077d7f4d7a8f6ec72a4316d5.
|
|
|
|
| |
This reverts commit 235ae287011539cfc256a22aac5081d4f348609c.
|
| |
|
|
|
|
| |
Bug: https://bugs.gentoo.org/643038
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Historically Gentoo unconditionally sets --enable-libstdcxx-time=yes
to avoid --enable-libstdcxx-time=rt on linux targets, bug #411681
Unfortunately this conflicts with arm-none-eabi and other
bare-metal targets that don't provide enough plumbing
to support for POSIX timers.
This change ogerrides our default to --disable-libstdcxx-time
on *-elf and *-eabi targets.
Tested as:
$ crossdev --stage4 arm-none-eabi
Reported-by: scheer@wsoptics.de
Reported-by: Thomas Schneider
Bug: https://bugs.gentoo.org/411681
Bug: https://bugs.gentoo.org/589672
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/8191
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
DRI_DEPEND can go away since all xf86-video-* drivers now directly
depend on x11-base/xorg-proto, which includes the dependencies from
DRI_DEPEND.
|
| |
|
| |
|
|
|
|
|
| |
Still allow that none was given so automatic selection depending on threads
useflag still works as before.
|
|
|
|
|
|
|
| |
Portage can do all the checks automatically, with the added bonus that they can
get tested with the portage API, which helps e.g. tatt finding out valid
combinations of use flags.
Closes: https://github.com/gentoo/gentoo/pull/7650
|
| |
|
|
|
|
|
|
|
|
| |
This eclass is problematic as it creates a dependency database
which is quickly removed. Also the PHP invocation may need
to addpredict for libsnmp.
Superseded by php-pear-r2 eclass
|
|
|
|
| |
Closes: https://bugs.gentoo.org/654004
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes: https://bugs.gentoo.org/633746
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
For clang and gcc, --param consumes the next argument. Testing --param
and its value separately is nonsensical.
Acked-by: Sergei Trofimovich <slyfox@gentoo.org>
|
| |
|
|
|
|
| |
Bug: https://bugs.gentoo.org/642702
|
|
|
|
| |
Bug: https://bugs.gentoo.org/574644
|