Summary: | [x11-overlay] x11-libs/libxkbcommon: doesn't x-compile when CFLAGS contains -m* | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mandeep Singh Baines <msb> |
Component: | New packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | benjaminfranzke, kripton, msb, vapier |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ebuild.patch |
Description
Mandeep Singh Baines
2011-10-07 23:58:16 UTC
Created attachment 289169 [details, diff]
ebuild.patch
Please only CC: maintainers when explicitly requested to. The developer assigning the bug will handle CC: as necessary. I am not convinced that this is the correct solution. Are you really using emerge or the crossdev CTARGET-emerge wrapper and PORTAGE_CONFIGROOT containing a make.conf with proper CFLAGS? I'm using the the crossdev CTARGET-emerge wrapper (or something close to it). In make.conf for the target, my CFLAGS contain -march=atom and -mtune=atom. However, my host is amd64. i think this is the right idea, but it needs more love: cat <<\EOF >> makekeys/Makefile.am CFLAGS = $(BUILD_CFLAGS) CPPFLAGS = $(BUILD_CPPFLAGS) LDFLAGS = $(BUILD_LDFLAGS) EOF and the toplevel configure.ac should setup these BUILD_xxx vars like it does for CC_FOR_BUILD alternatively, if the src/ks_tables.h is always the same across targets (i.e. it depends on other local headers), that should be a file that gets distributed with the tarball, and then the cross-compile logic can be dropped. Looks like this was removed in upstream commit 5fff637e07d75b24f778210e7838ee9667810806. Marking as UPSTREAM. |