Imported Upstream version 16.11
[deb_dpdk.git] / lib / librte_eal / common / eal_common_cpuflags.c
index ecb1240..b5f76f7 100644 (file)
 /**
  * Checks if the machine is adequate for running the binary. If it is not, the
  * program exits with status 1.
- * The function attribute forces this function to be called before main(). But
- * with ICC, the check is generated by the compiler.
  */
-#ifndef __INTEL_COMPILER
-void __attribute__ ((__constructor__))
-#else
 void
-#endif
 rte_cpu_check_supported(void)
 {
        /* This is generated at compile-time by the build system */