Bug 17883

Summary: Compilation failure under XP
Product: pixman Reporter: Michael DOUBEZ <michael.doubez>
Component: pixmanAssignee: Søren Sandmann Pedersen <soren.sandmann>
Status: RESOLVED FIXED QA Contact: Søren Sandmann Pedersen <soren.sandmann>
Severity: trivial    
Priority: medium Keywords: patch
Version: git master   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

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.