[Glibc-bsd-commits] r5035 - in trunk/kfreebsd-11/debian: . patches

Robert Millan rmh at alioth.debian.org
Thu Oct 10 18:28:11 UTC 2013


Author: rmh
Date: 2013-10-10 18:28:11 +0000 (Thu, 10 Oct 2013)
New Revision: 5035

Modified:
   trunk/kfreebsd-11/debian/changelog
   trunk/kfreebsd-11/debian/patches/920_linux_cflags.diff
Log:
Set __FreeBSD__=1000 for kernel CFLAGS.

Modified: trunk/kfreebsd-11/debian/changelog
===================================================================
--- trunk/kfreebsd-11/debian/changelog	2013-10-10 18:23:56 UTC (rev 5034)
+++ trunk/kfreebsd-11/debian/changelog	2013-10-10 18:28:11 UTC (rev 5035)
@@ -8,6 +8,7 @@
   * Only build with Clang on architectures where it is the default in
     upstream.
   * Remove -686-smp transitional packages (not needed for kfreebsd-11).
+  * Set __FreeBSD__=1000 for kernel CFLAGS.
 
  -- Robert Millan <rmh at debian.org>  Thu, 10 Oct 2013 20:02:00 +0200
 

Modified: trunk/kfreebsd-11/debian/patches/920_linux_cflags.diff
===================================================================
--- trunk/kfreebsd-11/debian/patches/920_linux_cflags.diff	2013-10-10 18:23:56 UTC (rev 5034)
+++ trunk/kfreebsd-11/debian/patches/920_linux_cflags.diff	2013-10-10 18:28:11 UTC (rev 5035)
@@ -9,7 +9,7 @@
  .endif
  WERROR?= -Werror
  
-+CFLAGS+= -Ulinux -U__linux__ -D__FreeBSD__=10
++CFLAGS+= -Ulinux -U__linux__ -D__FreeBSD__=1000
 +
  # XXX LOCORE means "don't declare C stuff" not "for locore.s".
  ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS}
@@ -20,7 +20,7 @@
  CFLAGS+=	-D_KERNEL
  CFLAGS+=	-DKLD_MODULE
  
-+CFLAGS+=	-Ulinux -U__linux__ -D__FreeBSD__=10
++CFLAGS+=	-Ulinux -U__linux__ -D__FreeBSD__=1000
 +
  # Don't use any standard or source-relative include directories.
  CSTD=		c99




More information about the Glibc-bsd-commits mailing list