From 37fb3503c4b1467d2b28f407b9c27c1de147869e Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Thu, 11 Oct 2012 19:13:46 +0200 Subject: If GCC is used, treat -Wreturn-type as error --- make/otp_ded.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make') diff --git a/make/otp_ded.mk.in b/make/otp_ded.mk.in index e719312473..e2232acbb1 100644 --- a/make/otp_ded.mk.in +++ b/make/otp_ded.mk.in @@ -37,7 +37,7 @@ DED__NOWARN_CFLAGS = @DED_EMU_THR_DEFS@ @DED_CFLAGS@ DED_THR_DEFS = @DED_THR_DEFS@ DED_EMU_THR_DEFS = @DED_EMU_THR_DEFS@ DED_WARN_FLAGS = @WFLAGS@ -DED_CFLAGS = @WFLAGS@ @DED_EMU_THR_DEFS@ @DED_CFLAGS@ +DED_CFLAGS = @WERRORFLAGS@ @WFLAGS@ @DED_EMU_THR_DEFS@ @DED_CFLAGS@ DED_LIBS = @LIBS@ DED_EXT = @DED_EXT@ ERLANG_OSTYPE = @ERLANG_OSTYPE@ -- cgit v1.2.3