<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Remove "-rdynamic" from link options</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>I'm using a custom gcc toolchain to cross-compile for a linux device. It doesn't support "-rdynamic". I've put in a bug so that when I set the compiler and it does try_compile, it doesn't die on those that don't support "-rdynamic", but in the meantime I need to remove it from the link_flags. I see plenty of ways to add link flags, but not to remove them. I don't even see it in the variables:<BR>
<BR>
-- CMAKE_C_LINK_FLAGS.............<BR>
-- CMAKE_SHARED_LIBRARY_C_FLAGS...-fPIC<BR>
<BR>
How does one remove "-rdynamic" from the link flags?<BR>
<BR>
--<BR>
Shane</FONT>
</P>
</BODY>
</HTML>