Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
KWSys
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Willers
KWSys
Commits
a99a9235
Commit
a99a9235
authored
10 years ago
by
Rolf Eike Beer
Browse files
Options
Downloads
Patches
Plain Diff
set the compile flags for older HP compilers to fix compilation
Change-Id: I5261ad19e3702e646576d70395625ac47adc942e
parent
39f98b5d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+7
-0
7 additions, 0 deletions
CMakeLists.txt
with
7 additions
and
0 deletions
CMakeLists.txt
+
7
−
0
View file @
a99a9235
...
...
@@ -299,6 +299,13 @@ IF(NOT CMAKE_COMPILER_IS_GNUCXX)
ENDIF
(
CMAKE_SYSTEM MATCHES
"OSF1-V.*"
)
IF
(
CMAKE_SYSTEM MATCHES
"HP-UX"
)
SET
(
KWSYS_PLATFORM_CXX_TEST_EXTRA_FLAGS
"+p"
)
IF
(
CMAKE_CXX_COMPILER_ID MATCHES
"HP"
)
# it is known that version 3.85 fails and 6.25 works without these flags
IF
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4
)
# use new C++ library and improved template support
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-AA +hpxstd98"
)
ENDIF
()
ENDIF
()
ENDIF
(
CMAKE_SYSTEM MATCHES
"HP-UX"
)
ENDIF
(
NOT CMAKE_COMPILER_IS_GNUCXX
)
...
...
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