Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
14bd120e
Commit
14bd120e
authored
Jan 09, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add -gstabs+ option if supported (based on a patch by Marcus
Meissner).
parent
4a883a55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
0 deletions
+60
-0
configure
configure
+52
-0
configure.ac
configure.ac
+8
-0
No files found.
configure
View file @
14bd120e
...
...
@@ -10548,6 +10548,58 @@ echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
then
CFLAGS
=
"
$CFLAGS
-mpreferred-stack-boundary=2"
fi
echo
"
$as_me
:
$LINENO
: checking for gcc -gstabs+ support"
>
&5
echo
$ECHO_N
"checking for gcc -gstabs+ support...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_c_gcc_gstabs
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_wine_try_cflags_saved
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-gstabs+"
cat
>
conftest.
$ac_ext
<<
_ACEOF
#line
$LINENO
"configure"
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_link
\"
"
)
>
&5
(
eval
$ac_link
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
ac_try
=
'test -s conftest$ac_exeext'
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_try
\"
"
)
>
&5
(
eval
$ac_try
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
;
then
ac_cv_c_gcc_gstabs
=
"yes"
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_c_gcc_gstabs
=
"no"
fi
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
conftest.
$ac_ext
CFLAGS
=
$ac_wine_try_cflags_saved
fi
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_c_gcc_gstabs
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_c_gcc_gstabs
"
>
&6
if
test
"
$ac_cv_c_gcc_gstabs
"
=
"yes"
then
CFLAGS
=
"
$CFLAGS
-gstabs+"
fi
fi
...
...
configure.ac
View file @
14bd120e
...
...
@@ -695,6 +695,14 @@ int main(void) {
then
CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
fi
dnl Check for -gstabs+ option
AC_CACHE_CHECK([for gcc -gstabs+ support], ac_cv_c_gcc_gstabs,
[WINE_TRY_CFLAGS([-gstabs+],ac_cv_c_gcc_gstabs="yes", ac_cv_c_gcc_gstabs="no")])
if test "$ac_cv_c_gcc_gstabs" = "yes"
then
CFLAGS="$CFLAGS -gstabs+"
fi
fi
dnl **** Check how to define a function in assembly code ****
...
...
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