Compare commits
10 Commits
Author | SHA1 | Date |
---|---|---|
Dave Airlie | 807d4c2ef1 | |
Dave Airlie | 7e369b600c | |
Adam Jackson | e1ccbf2919 | |
Adam Jackson | 9db6e3c91d | |
Adam Jackson | 1c91a873d8 | |
Adam Jackson | 95afd99c80 | |
Adam Jackson | 92fbd6021a | |
Dan Horák | 61c9b0095a | |
Adam Jackson | b831ad1557 | |
Jerome Glisse | 5cdc027b29 |
|
@ -1,13 +1,12 @@
|
|||
diff -up Mesa-9.0.1/src/gallium/drivers/nv50/codegen/nv50_ir.cpp.jx Mesa-9.0.1/src/gallium/drivers/nv50/codegen/nv50_ir.cpp
|
||||
--- Mesa-9.0.1/src/gallium/drivers/nv50/codegen/nv50_ir.cpp.jx 2012-08-31 19:33:41.000000000 -0400
|
||||
+++ Mesa-9.0.1/src/gallium/drivers/nv50/codegen/nv50_ir.cpp 2012-12-20 12:58:02.115699825 -0500
|
||||
@@ -715,7 +715,9 @@ Instruction::clone(ClonePolicy<Function>
|
||||
diff -up Mesa-9.0.3/src/gallium/drivers/nv50/codegen/nv50_ir.cpp.jx Mesa-9.0.3/src/gallium/drivers/nv50/codegen/nv50_ir.cpp
|
||||
--- Mesa-9.0.3/src/gallium/drivers/nv50/codegen/nv50_ir.cpp.jx 2013-02-17 14:28:36.000000000 -0500
|
||||
+++ Mesa-9.0.3/src/gallium/drivers/nv50/codegen/nv50_ir.cpp 2013-03-05 09:27:35.140943844 -0500
|
||||
@@ -715,7 +715,7 @@ Instruction::clone(ClonePolicy<Function>
|
||||
{
|
||||
if (!i)
|
||||
i = new_Instruction(pol.context(), op, dType);
|
||||
+#ifdef __GXX_RTTI
|
||||
-#ifndef NDEBUG // non-conformant assert, so this is required
|
||||
+#if 0
|
||||
assert(typeid(*i) == typeid(*this));
|
||||
+#endif
|
||||
|
||||
pol.set<Instruction>(this, i);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -320,13 +320,15 @@ cp %{SOURCE4} docs/
|
|||
|
||||
autoreconf --install
|
||||
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
# the NDEBUG thing is a hack for llvm 3.1 at least. will be removed once
|
||||
# i fix llvm to be less stupid [ajax]
|
||||
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
||||
# C++ note: we never say "catch" in the source. we do say "typeid" once,
|
||||
# in an assert, which is patched out above. LLVM doesn't use RTTI or throw.
|
||||
#
|
||||
# We do say 'catch' in the clover and d3d1x state trackers, but we're not
|
||||
# building those yet.
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions"
|
||||
export CXXFLAGS="$CFLAGS -fno-rtti -fno-exceptions"
|
||||
%ifarch %{ix86}
|
||||
# i do not have words for how much the assembly dispatch code infuriates me
|
||||
%define asm_flags --disable-asm
|
||||
|
|
Loading…
Reference in New Issue