From fd64bcbe8e9cbbfa3d977731cfe3aa4d32d20fe5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 20 Jun 2014 22:37:41 +0200 Subject: build: remove BSD-specific /usr/local include path additions It seems it's generally cleaner to leave this stuff to the BSDs. Additionally, the NetBSD part wasn't even correct, because it made the compiler prefer the system include path before local include files. --- wscript | 8 -------- 1 file changed, 8 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 6c5963387e..18d9b5c242 100644 --- a/wscript +++ b/wscript @@ -813,14 +813,6 @@ def configure(ctx): ctx.load('detections.compiler') ctx.load('detections.devices') - if ctx.env.DEST_OS in ('freebsd', 'openbsd'): - ctx.env.CFLAGS += ['-I.', '-I..', '-I/usr/local/include'] - ctx.env.LINKFLAGS += ['-L/usr/local/lib'] - - if ctx.env.DEST_OS == 'netbsd': - ctx.env.CFLAGS += ['-I/usr/pkg/include'] - ctx.env.LINKFLAGS += ['-L/usr/pkg/lib'] - ctx.parse_dependencies(build_options) ctx.parse_dependencies(main_dependencies) ctx.parse_dependencies(audio_output_features) -- cgit v1.2.3