Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unrecognized command line option '-Wl' #154

Open
qas612820704 opened this issue Nov 6, 2014 · 3 comments
Open

unrecognized command line option '-Wl' #154

qas612820704 opened this issue Nov 6, 2014 · 3 comments

Comments

@qas612820704
Copy link

$ gcc --version
gcc (Debian 4.9.1-19) 4.9.1
...

How do I fix it when I make it?

@mildsunrise
Copy link

Sundown was deprecated / frozen a while ago, you should use a fork like Hoedown instead.

@zoobab
Copy link

zoobab commented Jun 19, 2016

Even though Sundown might be deprecated, that it is not a satisfactory answer to the question on why it does not compile with GCC 4.9.

@Nikaoto
Copy link

Nikaoto commented Feb 12, 2021

Put a comma after it in the Makefile:

@@ -44,7 +44,7 @@ libsundown.so:	libsundown.so.1
 	ln -f -s $^ $@
 
 libsundown.so.1: $(SUNDOWN_SRC)
-	$(CC) $(LDFLAGS) -shared -Wl $^ -o $@
+	$(CC) $(LDFLAGS) -shared -Wl,$^ -o $@
 
 # executables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants