1. pygame
  2. Untitled project
  3. pygame

Commits

illume  committed f9c8823

added scale_mmx.c to Setup.in and removed it in the setup.py

  • Participants
  • Parent commits 67fd4fb
  • Branches default

Comments (0)

Files changed (2)

File Setup.in

View file
 draw src/draw.c $(SDL) $(DEBUG)
 image src/image.c $(SDL) $(DEBUG)
 overlay src/overlay.c $(SDL) $(DEBUG)
-transform src/transform.c src/rotozoom.c src/scale2x.c $(SDL) $(DEBUG)
+transform src/transform.c src/rotozoom.c src/scale2x.c src/scale_mmx.c $(SDL) $(DEBUG)
 mask src/mask.c src/bitmask.c $(SDL) $(DEBUG)
 bufferproxy src/bufferproxy.c $(SDL) $(DEBUG)
 pixelarray src/pixelarray.c $(SDL) $(DEBUG)

File setup.py

View file
     for e in extensions:
         if e.name == 'transform':
             e.extra_objects.append('obj\\win32\\scale_mmx.obj')
-else:
+            e.sources.remove('scale_mmx.c')
+
+#else:
     # Add smooth scale MMX functions source file to transform extension. This
     # file is safe for non-Pentium or non-GCC builds as it will produce an
     # empty object file.
-    for e in extensions:
-        if e.name == 'transform':
-            e.sources.append('scale_mmx.c')
+#    for e in extensions:
+#        if e.name == 'transform':
+#            e.sources.append('scale_mmx.c')
 
 
 #clean up the list of extensions