Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
198ab646
Commit
198ab646
authored
26 years ago
by
sof
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1998-04-17 12:19:24 by sof]
Don't feed mkdependC -D__GNUC__ + fix-fix to mkdependC
parent
7161da0c
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ghc/lib/misc/cbits/Makefile
+1
-4
1 addition, 4 deletions
ghc/lib/misc/cbits/Makefile
glafp-utils/mkdependC/mkdependC.prl
+2
-1
2 additions, 1 deletion
glafp-utils/mkdependC/mkdependC.prl
with
3 additions
and
5 deletions
ghc/lib/misc/cbits/Makefile
+
1
−
4
View file @
198ab646
...
@@ -14,10 +14,7 @@ ifneq "$(HAVE_READLINE)" "YES"
...
@@ -14,10 +14,7 @@ ifneq "$(HAVE_READLINE)" "YES"
C_SRCS
:=
$(
filter-out ghcReadline.c,
$(
C_SRCS
))
C_SRCS
:=
$(
filter-out ghcReadline.c,
$(
C_SRCS
))
endif
endif
# ToDo: properly
SRC_MKDEPENDC_OPTS
+=
-I
$(
GHC_INCLUDE_DIR
)
# -D__GNUC__ : added to turn off noise from byteorder.h with 2.7.2 / Solaris-2.3
#
SRC_MKDEPENDC_OPTS
+=
-I
$(
GHC_INCLUDE_DIR
)
-D__GNUC__
SRC_CC_OPTS
+=
-I
$(
GHC_INCLUDE_DIR
)
SRC_CC_OPTS
+=
-I
$(
GHC_INCLUDE_DIR
)
LIBRARY
=
libHSmisc_cbits.a
LIBRARY
=
libHSmisc_cbits.a
...
...
This diff is collapsed.
Click to expand it.
glafp-utils/mkdependC/mkdependC.prl
+
2
−
1
View file @
198ab646
...
@@ -28,7 +28,7 @@ if ( $ENV{'TMPDIR'} ) { # where to make tmp file names
...
@@ -28,7 +28,7 @@ if ( $ENV{'TMPDIR'} ) { # where to make tmp file names
$ENV{'TMPDIR'} = "${TMPDIR}"; # set the env var as well
$ENV{'TMPDIR'} = "${TMPDIR}"; # set the env var as well
}
}
$tempfile =
"$Tmp_prefix.i"
;
$tempfile =
''
;
sub quit_upon_signal {
sub quit_upon_signal {
if (-f $tempfile) {
if (-f $tempfile) {
...
@@ -152,6 +152,7 @@ sub slurp_file { # follows an example in the `open' item in perl man page
...
@@ -152,6 +152,7 @@ sub slurp_file { # follows an example in the `open' item in perl man page
$fname = &tidy_dir_names($fname);
$fname = &tidy_dir_names($fname);
$tempfile = "$Tmp_prefix.i";
# ${CPP} better be 'gcc -E', or the -x option will fail...
# ${CPP} better be 'gcc -E', or the -x option will fail...
$result = system("${CPP} $Include_dirs @Defines -x c $fname -o $tempfile");
$result = system("${CPP} $Include_dirs @Defines -x c $fname -o $tempfile");
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment