[Mesa-dev] [Bug 49360] New: Build: gen_matypes does not use $HOST_LDFLAGS
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue May 1 20:07:54 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=49360
Bug #: 49360
Summary: Build: gen_matypes does not use $HOST_LDFLAGS
Classification: Unclassified
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: minor
Priority: medium
Component: Other
AssignedTo: mesa-dev at lists.freedesktop.org
ReportedBy: bugs-fdo.8eaf7cd8e5128d8191fe at spamgourmet.com
In mesa-7.11.2, but still present in the current HEAD of
83a02427e576a5126a618c13bc3e12ff2b4a3e0a, src/mesa/x86/Makefile has a rule to
build a helper program gen_matypes, which is then run on the build host:
gen_matypes: gen_matypes.c
$(HOST_CC) $(ARCH_FLAGS) $(INCLUDE_DIRS) $(HOST_CFLAGS) gen_matypes.c -o
gen_matypes
However, this rule does not include a reference to $(HOST_LDFLAGS). In some
setups, such as the one where I noticed this, a successful link requires the
flags that are specified in $(HOST_LDFLAGS). Omitting that reference causes
the link to fail. Please consider changing the recipe to read:
$(HOST_CC) $(ARCH_FLAGS) $(INCLUDE_DIRS) $(HOST_CFLAGS) $(HOST_LDFLAGS)
gen_matypes.c -o gen_matypes
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list