Skip to content

Commit

Permalink
build: only link to needed libraries
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
  • Loading branch information
Felipe Contreras committed Sep 16, 2010
1 parent ce7226a commit 328b0b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -2,6 +2,7 @@ CROSS_COMPILE ?= arm-linux-
CC := $(CROSS_COMPILE)gcc

CFLAGS := -O2 -Wall -Wextra -Wno-unused-parameter -std=c99
LDFLAGS := -Wl,--as-needed

override CFLAGS += -D_GNU_SOURCE

Expand Down

0 comments on commit 328b0b6

Please sign in to comment.