mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-16 03:47:21 +00:00
91467868aa
KeyNote is a simple and flexible trust-management system designed to work well for a variety of large- and small- scale Internet-based applications Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
37 lines
1011 B
Diff
37 lines
1011 B
Diff
Add LDFLAGS variable to Makefile so that extra linker flags can be sent via this variable.
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
|
|
|
diff --git a/Makefile.in b/Makefile.in
|
|
index b216648..42b4827 100644
|
|
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -35,6 +35,7 @@ MKDIR = @MKDIR@
|
|
SED = @SED@
|
|
ECHO = @ECHO@
|
|
TR = @TR@
|
|
+LDFLAGS = @LDFLAGS@
|
|
|
|
TARFLAGS = -cvzf ${DISTFILE}
|
|
YACCFLAGS2 = -d -p kv -b z
|
|
@@ -83,7 +84,7 @@ $(TARGET): $(OBJS)
|
|
$(RANLIB) $(TARGET)
|
|
|
|
$(TARGET2): $(TARGET) $(OBJS2)
|
|
- $(CC) $(CFLAGS) -o $(TARGET2) $(OBJS2) $(LIBS)
|
|
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET2) $(OBJS2) $(LIBS)
|
|
|
|
k.tab.c: keynote.y header.h keynote.h assertion.h config.h
|
|
$(YACC) $(YACCFLAGS) keynote.y
|
|
@@ -131,7 +132,7 @@ $(SSLCERT) $(SSLKEY):
|
|
-keyout $(SSLKEY)
|
|
|
|
test-sample: all $(OBJS3)
|
|
- $(CC) $(CFLAGS) -o $(TARGET3) $(OBJS3) $(LIBS)
|
|
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET3) $(OBJS3) $(LIBS)
|
|
|
|
test-sig: all $(SSLCERT) $(SSLKEY)
|
|
$(SED) -e 's/--.*//' < $(SSLCERT) > $(SSLCERT).1
|