DEADSOFTWARE

Merge pull request #1 from mittorn/hardfloat
authorAlibek Omarov <a1ba.omarov@gmail.com>
Tue, 11 Aug 2015 12:47:31 +0000 (18:47 +0600)
committerAlibek Omarov <a1ba.omarov@gmail.com>
Tue, 11 Aug 2015 12:47:31 +0000 (18:47 +0600)
Put aapcs attributes under SOFTFP_LINK macro

GL/glesinterface.h

index e6e2d45e9eda468487e71f584ae68ea6055f010e..46de9e4bda9cb1423fd179c9ce0df6a35ac61255 100644 (file)
@@ -28,7 +28,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     #endif
 #endif
 
+#ifdef SOFTFP_LINK
 #define S __attribute__((pcs("aapcs")))
+#else
+#define S
+#endif
 
 struct GlESInterface
     {