Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
415673dc
Commit
415673dc
authored
Mar 24, 2015
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #405 from dagar/cmake-libunwind
cmake fix libunwind flags
parents
7be6eea8
05e33940
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
CMakeLists.txt
CMakeLists.txt
+2
-2
libunwind
libunwind
+1
-1
No files found.
CMakeLists.txt
View file @
415673dc
...
...
@@ -95,7 +95,7 @@ llvm_map_components_to_libnames(LLVM_LIBS core mcjit native bitreader ipo irread
# libunwind
if
(
"
${
CMAKE_BUILD_TYPE
}
"
STREQUAL
"Debug"
)
set
(
LIBUNWIND_
FLAGS
"-g -O0
"
)
set
(
LIBUNWIND_
DEBUG_CFLAGS
"CFLAGS=-O0 -g
"
)
set
(
LIBUNWIND_DEBUG
"--enable-debug"
)
set
(
LIBUNWIND_DEBUG_FRAME
"--enable-debug-frame"
)
endif
()
...
...
@@ -104,7 +104,7 @@ ExternalProject_Add(libunwind
SOURCE_DIR
${
CMAKE_SOURCE_DIR
}
/libunwind
DEPENDS gitsubmodules
UPDATE_COMMAND autoreconf -i
CONFIGURE_COMMAND
${
CMAKE_SOURCE_DIR
}
/libunwind/configure
CFLAGS=
${
LIBUNWIND_FLAGS
}
CXXFLAGS=
${
LIBUNWIND_
FLAGS
}
--prefix=
${
CMAKE_BINARY_DIR
}
/libunwind --enable-shared=0
${
LIBUNWIND_DEBUG
}
${
LIBUNWIND_DEBUG_FRAME
}
CONFIGURE_COMMAND
${
CMAKE_SOURCE_DIR
}
/libunwind/configure
${
LIBUNWIND_DEBUG_C
FLAGS
}
--prefix=
${
CMAKE_BINARY_DIR
}
/libunwind --enable-shared=0
${
LIBUNWIND_DEBUG
}
${
LIBUNWIND_DEBUG_FRAME
}
LOG_UPDATE ON
LOG_CONFIGURE ON
LOG_BUILD ON
...
...
libunwind
@
65ac8674
Subproject commit 6
e3254ea6e6fa6c433cd38f9716a0b3b4110de64
Subproject commit 6
5ac86741606e1d87aef75755c699e4fa6884230
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