Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
400f9587
Commit
400f9587
authored
Jan 06, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
Do not use fvisibility flag if GCC does not support it
(i.e if gcc version < 4)
parents
9fe3b669
3701208a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
cmake/libutils.cmake
cmake/libutils.cmake
+9
-6
configure.in
configure.in
+1
-1
libmysqld/CMakeLists.txt
libmysqld/CMakeLists.txt
+1
-1
No files found.
cmake/libutils.cmake
View file @
400f9587
...
...
@@ -279,6 +279,8 @@ ENDFUNCTION()
MACRO
(
RESTRICT_SYMBOL_EXPORTS target
)
IF
(
CMAKE_COMPILER_IS_GNUCXX AND UNIX
)
CHECK_C_COMPILER_FLAG
(
"-fvisibility=hidden"
HAVE_VISIBILITY_HIDDEN
)
IF
(
HAVE_VISIBILITY_HIDDEN
)
GET_TARGET_PROPERTY
(
COMPILE_FLAGS
${
target
}
COMPILE_FLAGS
)
IF
(
NOT COMPILE_FLAGS
)
# Avoid COMPILE_FLAGS-NOTFOUND
...
...
@@ -287,4 +289,5 @@ MACRO(RESTRICT_SYMBOL_EXPORTS target)
SET_TARGET_PROPERTIES
(
${
target
}
PROPERTIES
COMPILE_FLAGS
"
${
COMPILE_FLAGS
}
-fvisibility=hidden"
)
ENDIF
()
ENDIF
()
ENDMACRO
()
configure.in
View file @
400f9587
...
...
@@ -25,7 +25,7 @@ AC_CANONICAL_SYSTEM
#
# When changing major version number please also check switch statement
# in client/mysqlbinlog.cc:check_master_version().
AM_INIT_AUTOMAKE
(
mysql, 5.5.99
)
AM_INIT_AUTOMAKE
(
mysql, 5.5.99
-m3
)
AM_CONFIG_HEADER
([
include/config.h:config.h.in]
)
# Request support for automake silent-rules if available.
...
...
libmysqld/CMakeLists.txt
View file @
400f9587
...
...
@@ -79,7 +79,7 @@ SET(SQL_EMBEDDED_SOURCES emb_qcache.cc libmysqld.c lib_sql.cc
../sql/time.cc ../sql/tztime.cc ../sql/uniques.cc ../sql/unireg.cc
../sql/partition_info.cc ../sql/sql_connect.cc
../sql/scheduler.cc ../sql/event_parse_data.cc
../sql/sql_signal.cc ../sql/rpl_handler.cc
../sql/keycaches.cc
../sql/sql_signal.cc ../sql/rpl_handler.cc
../sql/sys_vars.cc
${
CMAKE_BINARY_DIR
}
/sql/sql_builtin.cc
${
GEN_SOURCES
}
...
...
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