Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Kart-Public
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kart Krew
Kart-Public
Commits
8c7f9f85
Commit
8c7f9f85
authored
Aug 16, 2020
by
James R.
Browse files
Options
Downloads
Patches
Plain Diff
Is it GCC is it gcc, is it????
(cherry picked from commit ef2bff6383b16385f9874e1c9c6b66c9df794f5b)
parent
655c694b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Makefile.cfg
+3
-1
3 additions, 1 deletion
src/Makefile.cfg
with
3 additions
and
1 deletion
src/Makefile.cfg
+
3
−
1
View file @
8c7f9f85
...
...
@@ -48,7 +48,9 @@ endif
# Automatically set version flag, but not if one was manually set
ifeq
(,$(filter GCC%,$(.VARIABLES)))
ifneq
(,$(findstring gcc,$(shell $(CC) --version)))
# if it's GCC
version
:=
$(
shell
$(
CC
)
--version
)
# check if this is in fact GCC
ifneq
(,$(or $(findstring gcc,$(version)),$(findstring GCC,$(version))))
version
:=
$(
shell
$(
CC
)
-dumpversion
)
# Turn version into words of major, minor
...
...
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