Closed craigbarnes closed 11 years ago
When building with GCC 4.7.0 I get the following error:
gcc -g -O3 -Wall -Werror -shared -Wl src/markdown.o src/stack.o src/buffer.o src/autolink.o html/html.o html/html_smartypants.o html/houdini_html_e.o html/houdini_href_e.o -o libsundown.so.1 gcc: error: unrecognized command line option ‘-Wl’ make: *** [libsundown.so.1] Error 1
Removing the -Wl flag fixes it.
-Wl
It seems this issue has been documented on the GCC 4.7 porting guide (under the first sub-heading).
When building with GCC 4.7.0 I get the following error:
Removing the
-Wl
flag fixes it.It seems this issue has been documented on the GCC 4.7 porting guide (under the first sub-heading).