Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #118 from henrich/master
Browse files Browse the repository at this point in the history
enable to use some hardening flags
  • Loading branch information
sbalabanov authored Jan 29, 2018
2 parents ee9fb68 + 2e016d6 commit 2b0ade9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
# Your compiler location may vary.
WIN32_CC=/usr/bin/i586-mingw32msvc-gcc

CC=gcc
CFLAGS=-Wall -pedantic -s -O3
CFLAGS=-Wall -pedantic -O2
SRCDIR=nailgun-client
PREFIX=/usr/local

ng: ${SRCDIR}/ng.c
@echo "Building ng client. To build a Windows binary, type 'make ng.exe'"
${CC} ${CFLAGS} -o ng ${SRCDIR}/ng.c
${CC} $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o ng ${SRCDIR}/ng.c

install: ng
install -d ${PREFIX}/bin
Expand Down

0 comments on commit 2b0ade9

Please sign in to comment.