Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

One missing patch from the Debian package #1

Merged
merged 1 commit into from

3 participants

@orebokech

No description provided.

@rudis rudis Use CPPFLAGS and LDFLAGS from the environment
Some tools like Debian's dpkg-buildflags use these variables to pass
hardening options so we need to pay attention to them.
1c8e4cd
@antirez antirez merged commit 23c5848 into antirez:master
@antirez
Owner

Thank you, merged.

@dnet dnet referenced this pull request from a commit in dnet/visitors
@benzado benzado Issue #1: Adding mobile browsers and operating systems. Kind of arbit…
…rary

divisions, probably need a new category.
ac49221
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 1, 2012
  1. @rudis @orebokech

    Use CPPFLAGS and LDFLAGS from the environment

    rudis authored orebokech committed
    Some tools like Debian's dpkg-buildflags use these variables to pass
    hardening options so we need to pay attention to them.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
4 Makefile
@@ -5,7 +5,7 @@
DEBUG?= -g
CFLAGS?= -O2 -Wall -W
-CCOPT= $(CFLAGS)
+CCOPT= $(CFLAGS) $(CPPFLAGS)
OBJ = visitors.o aht.o antigetopt.o tail.o
PRGNAME = visitors
@@ -14,7 +14,7 @@ all: visitors
visitors.o: visitors.c blacklist.h
visitors: $(OBJ)
- $(CC) -o $(PRGNAME) $(CCOPT) $(DEBUG) $(OBJ)
+ $(CC) -o $(PRGNAME) $(LDFLAGS) $(CCOPT) $(DEBUG) $(OBJ)
.c.o:
$(CC) -c $(CCOPT) $(DEBUG) $(COMPILE_TIME) $<
Something went wrong with that request. Please try again.