blob: 890f4f3350ad562bd1937fa8140dc885e793a008 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$NetBSD: patch-Makefile,v 1.2 2015/10/25 09:05:23 bouyer Exp $
--- Makefile.orig 2015-09-13 22:56:46.000000000 +0200
+++ Makefile 2015-10-25 09:55:26.000000000 +0100
@@ -18,11 +18,11 @@
CC = gcc
CFLAGS = -g -O0 -Wall -Wextra
-CFLAGS += -std=c99 -D_POSIX_C_SOURCE=200112L
+CFLAGS += -std=c99 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE
CFLAGS += -Iinclude/
TOOLS = fexc bin2fex fex2bin bootinfo fel pio
-TOOLS += nand-part
+#TOOLS += nand-part
MISC_TOOLS = phoenix_info
@@ -30,7 +30,7 @@
.PHONY: all clean
-all: $(TOOLS)
+all: $(TOOLS) $(MISC_TOOLS)
misc: $(MISC_TOOLS)
|