Bug 17883 - Compilation failure under XP
Summary: Compilation failure under XP
Status: RESOLVED FIXED
Alias: None
Product: pixman
Classification: Unclassified
Component: pixman (show other bugs)
Version: git master
Hardware: x86 (IA32) Windows (All)
: medium trivial
Assignee: Søren Sandmann Pedersen
QA Contact: Søren Sandmann Pedersen
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2008-10-03 02:23 UTC by Michael DOUBEZ
Modified: 2012-01-10 09:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Michael DOUBEZ 2008-10-03 02:23:28 UTC
When compiling under XP with MSVC++ and gnuwin32, the compilation fails due to usage of mkdir.

SOURCE:
...
$(CFG_VAR)/%.obj: %.c
	@mkdir -p $(CFG_VAR)
...
This will create a "-p" and a "release" directory and cause a compilation failure. It also issues warning when removing "-p"

FIX:
....
$(CFG_VAR)/%.obj: %.c
	@mkdir $(CFG_VAR) > NUL || true
....
Cheers
Comment 1 Søren Sandmann Pedersen 2012-01-10 09:45:42 UTC
It doesn't look like this is an issue anymore. Feel free to reopen if it is.


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.