Bug 20844 - build fails because LDFLAGS missing for corender
Summary: build fails because LDFLAGS missing for corender
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Demos (show other bugs)
Version: 7.2
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-24 14:39 UTC by Peter Meerwald
Modified: 2009-03-24 15:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Meerwald 2009-03-24 14:39:22 UTC
Mesa-7.2/progs/xdemos/Makefile

for the corender target (demo program) $(LDFLAGS) is missing in the compile/link step

corender: corender.o ipc.o
        $(CC) $(CFLAGS) corender.o ipc.o $(LIBS) -o $@

$(LDFLAGS) is missing which breaks the build when cross-compiling and eg. the X11 libs are not in the default place

the same issue is in Mesa-7.3

fix is easy: add $(LDFLAGS)
Comment 1 Brian Paul 2009-03-24 15:10:36 UTC
Fixed in git.  This will be in Mesa 7.4.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.