summaryrefslogtreecommitdiff
path: root/sysutils/powermon/files/patch-Makefile
blob: 2a1c69684ac58cd05fa54f56e8a78f02628a24ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Makefile.orig	2017-07-03 16:04:31 UTC
+++ Makefile
@@ -1,9 +1,9 @@
 # Base CFLAGS
-CFLAGS := -O2 -fomit-frame-pointer -std=c99 \
-		  -pedantic -Wall -Wextra -MMD -pipe
+CFLAGS += -std=c99 -pedantic -Wall -Wextra -MMD \
+	  -I$(LOCALBASE)/include -DUSE_LIBCPUID
 
 # Base LDFLAGS
-LDFLAGS := -lcursesw -lm
+LDFLAGS += $(NCURSESLIBS) -lm -L$(LOCALBASE)/lib -lcpuid
 
 # -----------