Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
mesa
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Fabio Pedretti
mesa
Commits
00137969
Commit
00137969
authored
Feb 07, 2008
by
José Fonseca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gallium: Conditionally use posix libraries/includes.
parent
c4e0d725
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
21 deletions
+23
-21
.gitignore
.gitignore
+1
-0
SConstruct
SConstruct
+22
-21
No files found.
.gitignore
View file @
00137969
...
@@ -9,3 +9,4 @@ lib
...
@@ -9,3 +9,4 @@ lib
lib64
lib64
.sconsign*
.sconsign*
config.py
config.py
build
SConstruct
View file @
00137969
...
@@ -95,19 +95,8 @@ if gcc:
...
@@ -95,19 +95,8 @@ if gcc:
env
.
Append
(
CFLAGS
=
'-fmessage-length=0'
)
env
.
Append
(
CFLAGS
=
'-fmessage-length=0'
)
env
.
Append
(
CXXFLAGS
=
'-fmessage-length=0'
)
env
.
Append
(
CXXFLAGS
=
'-fmessage-length=0'
)
# Defines
env
.
Append
(
CPPDEFINES
=
[
'_POSIX_SOURCE'
,
(
'_POSIX_C_SOURCE'
,
'199309L'
),
'_SVID_SOURCE'
,
'_BSD_SOURCE'
,
'_GNU_SOURCE'
,
'PTHREADS'
,
'HAVE_ALIAS'
,
'HAVE_POSIX_MEMALIGN'
,
])
# Defines
if
debug
:
if
debug
:
env
.
Append
(
CPPDEFINES
=
[
'DEBUG'
])
env
.
Append
(
CPPDEFINES
=
[
'DEBUG'
])
else
:
else
:
...
@@ -120,8 +109,6 @@ env.Append(CPPPATH = [
...
@@ -120,8 +109,6 @@ env.Append(CPPPATH = [
'#/src/mesa'
,
'#/src/mesa'
,
'#/src/mesa/main'
,
'#/src/mesa/main'
,
'#/src/mesa/pipe'
,
'#/src/mesa/pipe'
,
'/usr/X11R6/include'
,
])
])
...
@@ -137,14 +124,28 @@ if x86:
...
@@ -137,14 +124,28 @@ if x86:
env
.
Append
(
CFLAGS
=
'-m32'
)
env
.
Append
(
CFLAGS
=
'-m32'
)
env
.
Append
(
CXXFLAGS
=
'-m32'
)
env
.
Append
(
CXXFLAGS
=
'-m32'
)
env
.
Append
(
LIBPATH
=
[
'/usr/X11R6/lib'
])
env
.
Append
(
LIBS
=
[
# Posix
'm'
,
if
platform
in
(
'posix'
,
'linux'
,
'freebsd'
,
'darwin'
):
'pthread'
,
env
.
Append
(
CPPDEFINES
=
[
'expat'
,
'_POSIX_SOURCE'
,
'dl'
,
(
'_POSIX_C_SOURCE'
,
'199309L'
),
])
'_SVID_SOURCE'
,
'_BSD_SOURCE'
,
'_GNU_SOURCE'
,
'PTHREADS'
,
'HAVE_POSIX_MEMALIGN'
,
])
env
.
Append
(
CPPPATH
=
[
'/usr/X11R6/include'
])
env
.
Append
(
LIBPATH
=
[
'/usr/X11R6/lib'
])
env
.
Append
(
LIBS
=
[
'm'
,
'pthread'
,
'expat'
,
'dl'
,
])
# DRI
# DRI
if
dri
:
if
dri
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment