OLD_COMPILE_FLAGS was set incorrectly in WebKitHelpers.cmake

https://bugs.webkit.org/show_bug.cgi?id=81961

Patch by Ming Xie <mxie@rim.com> on 2012-03-22
Reviewed by Rob Buis.

This fixes the regression introduced by r109292

* Source/cmake/WebKitHelpers.cmake:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 12dc5ba8
2012-03-22 Ming Xie <mxie@rim.com>
OLD_COMPILE_FLAGS was set incorrectly in WebKitHelpers.cmake
https://bugs.webkit.org/show_bug.cgi?id=81961
Reviewed by Rob Buis.
This fixes the regression introduced by r109292
* Source/cmake/WebKitHelpers.cmake:
2012-03-22 Dave Michael <dmichael@chromium.org>
HTMLPluginElement is not destroyed on reload or navigation if getNPObject is called
......
......@@ -27,7 +27,7 @@ MACRO(WEBKIT_SET_EXTRA_COMPILER_FLAGS _target)
GET_TARGET_PROPERTY(TARGET_TYPE ${_target} TYPE)
IF (${TARGET_TYPE} STREQUAL "STATIC_LIBRARY") # -fPIC is automatically added to shared libraries
SET(OLD_COMPILE_FLAGS "-fPIC")
SET(OLD_COMPILE_FLAGS "-fPIC ${OLD_COMPILE_FLAGS}")
ENDIF ()
SET(OLD_COMPILE_FLAGS "-fno-exceptions -fno-strict-aliasing ${OLD_COMPILE_FLAGS}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment