Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2015 07:48:04 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290183 - head/lib/libc/tests/ssp
Message-ID:  <201510300748.t9U7m4PA024954@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Fri Oct 30 07:48:03 2015
New Revision: 290183
URL: https://svnweb.freebsd.org/changeset/base/290183

Log:
  - Re-enable h_raw with clang 3.7.0+
  - Fix the compiler check to allow the test to be compiled for gcc
  
  PR: 196430
  MFC after: never
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/lib/libc/tests/ssp/Makefile

Modified: head/lib/libc/tests/ssp/Makefile
==============================================================================
--- head/lib/libc/tests/ssp/Makefile	Fri Oct 30 07:36:43 2015	(r290182)
+++ head/lib/libc/tests/ssp/Makefile	Fri Oct 30 07:48:03 2015	(r290183)
@@ -26,7 +26,8 @@ PROGS+=		h_memmove
 PROGS+=		h_memset
 # This testcase doesn't run properly when not compiled with -fsantize=bounds
 # with clang, which is currently contingent on a compiler_rt update
-.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 30500
+.if (${COMPILER_TYPE} != "clang" || \
+     (${COMPILER_VERSION} < 30500 || 30700 <= ${COMPILER_VERSION}))
 PROGS+=		h_raw
 .endif
 PROGS+=		h_read



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510300748.t9U7m4PA024954>