openbsd-ports/geo/libpostal/patches/patch-test_Makefile_am
fcambus f09cb96600 Import geo/libpostal.
C library for parsing/normalizing street addresses around the world, powered
by statistical NLP and open geo data.

This library helps convert the free-form addresses that humans use into clean
normalized forms suitable for machine comparison and full-text indexing.

OK rsadowski@
2018-08-06 09:15:11 +00:00

20 lines
594 B
Plaintext

$OpenBSD: patch-test_Makefile_am,v 1.1.1.1 2018/08/06 09:15:11 fcambus Exp $
Remove hardcoded optimization levels.
Index: test/Makefile.am
--- test/Makefile.am.orig
+++ test/Makefile.am
@@ -1,8 +1,8 @@
CFLAGS_BASE = -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"$(datadir)/libpostal"' -g
CFLAGS_O0 = $(CFLAGS_BASE) -O0
-CFLAGS_O1 = $(CFLAGS_BASE) -O1
-CFLAGS_O2 = $(CFLAGS_BASE) -O2
-CFLAGS_O3 = $(CFLAGS_BASE) -O3
+CFLAGS_O1 = $(CFLAGS_BASE)
+CFLAGS_O2 = $(CFLAGS_BASE)
+CFLAGS_O3 = $(CFLAGS_BASE)
DEFAULT_INCLUDES = -I.. -I/usr/local/include
CFLAGS = $(CFLAGS_BASE)