keymap: Fix build on Solaris host

The updated glibc regex sources use source-local includes, such as
"regex_internal.h", so add the regex directory to the search path.
Define __USE_GNU as in r38031 to define GNU extensions used and
HAVE_STDBOOL_H to avoid build failure due to type bool.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38097 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Andreas Färber
2010-08-14 11:38:06 +00:00
parent 902e646ceb
commit f4f4142ee0
+2
View File
@@ -11,6 +11,8 @@ local regexSources ;
local storageSources ;
if $(HOST_PLATFORM) = cygwin || $(HOST_PLATFORM) = sunos {
UseHeaders [ FDirName $(HAIKU_TOP) src system libroot posix glibc regex ] ;
SubDirCcFlags -D__USE_GNU -DHAVE_STDBOOL_H ;
regexSources = regex.c ;
}
if $(HOST_PLATFORM) = haiku_host {