Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
e585f2d2
Commit
e585f2d2
authored
May 28, 2014
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A hopeful fix for bug lp:1322354
parent
c8479cdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
CMakeLists.txt
CMakeLists.txt
+6
-1
No files found.
CMakeLists.txt
View file @
e585f2d2
...
@@ -203,12 +203,17 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
...
@@ -203,12 +203,17 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
${
PIC_FLAG
}
"
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
${
PIC_FLAG
}
"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
${
PIC_FLAG
}
"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
${
PIC_FLAG
}
"
)
# Thou shalt not link vaporware and tell us it's a valid DSO (apple ld doesn't support it)
if
(
NOT APPLE
)
if
(
NOT APPLE
)
# Thou shalt not link vaporware and tell us it's a valid DSO (apple ld doesn't support it)
set
(
CMAKE_SHARED_LINKER_FLAGS
"
${
TO_LINKER
}
,--no-undefined"
)
set
(
CMAKE_SHARED_LINKER_FLAGS
"
${
TO_LINKER
}
,--no-undefined"
)
set
(
CMAKE_MODULE_LINKER_FLAGS
"
${
TO_LINKER
}
,--no-undefined"
)
set
(
CMAKE_MODULE_LINKER_FLAGS
"
${
TO_LINKER
}
,--no-undefined"
)
set
(
CMAKE_EXE_LINKER_FLAGS_RELEASE
"-s"
)
set
(
CMAKE_EXE_LINKER_FLAGS_RELEASE
"-s"
)
# Defeat ELF's ability to use the GOT to replace locally implemented functions
# with ones from another module.
set
(
CMAKE_SHARED_LINKER_FLAGS
"
${
CMAKE_SHARED_LINKER_FLAGS
}
${
TO_LINKER
}
,-Bsymbolic"
)
set
(
CMAKE_MODULE_LINKER_FLAGS
"
${
CMAKE_MODULE_LINKER_FLAGS
}
${
TO_LINKER
}
,-Bsymbolic"
)
endif
()
endif
()
endif
()
endif
()
...
...
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