Ticket #32639

リンク時のLDFLAGS参照

Open Date: 2013-12-20 14:55 Last Update: 2014-01-14 14:58

Reporter:
Owner:
(None)
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
4
Severity:
4
Resolution:
None
File:
None

Details

リンク時にリンカへのオプションを追加したい場合があるので、Makefileで LDFLGSを参照するようにしていただけると嬉しいです。

--- nkf-2.13.orig/Makefile
+++ nkf-2.13/Makefile
@@ -14,7 +14,7 @@ PYTHON3 = python
 .PHONY: clean install test tar shar

 nkf : nkf.o utf8tbl.o
-       $(CC) $(CFLAGS) -o nkf nkf.o utf8tbl.o
+       $(CC) $(CFLAGS) $(LDFLAGS) -o nkf nkf.o utf8tbl.o

 nkf.o : nkf.c nkf.h utf8tbl.h config.h
        $(CC) $(CFLAGS) -c nkf.c

Ticket History (2/2 Histories)

2013-12-20 14:55 Updated by: knok
  • New Ticket "リンク時のLDFLAGS参照" created
2014-01-14 14:58 Updated by: naruse
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2014-01-14 14:58
Comment

b7f62a9 で追加しました

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login