third_party: Fix a typo in the option name
authorAndreas Schneider <asn@samba.org>
Mon, 4 Dec 2017 10:00:10 +0000 (11:00 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 6 Dec 2017 18:06:21 +0000 (19:06 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13174

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
third_party/aesni-intel/wscript

index 0ccd9eb1e5b60644974a7e9b06737ebe8727395f..f0723a525011079132f0f716cd9fcbfd49f93c49 100644 (file)
@@ -9,11 +9,11 @@ def configure(conf):
                 print("Compiling with Intel AES instructions")
                 conf.DEFINE('HAVE_AESNI_INTEL', 1)
             else:
-                raise Utils.WafError('--aes-accel=intelaesni selected and non x86_64 CPU')
+                raise Utils.WafError('--accel-aes=intelaesni selected and non x86_64 CPU')
         else:
-            raise Utils.WafError('--aes-accel=intelaesni selected and compiler rejects -Wp,-E,-lang-asm')
+            raise Utils.WafError('--accel-aes=intelaesni selected and compiler rejects -Wp,-E,-lang-asm')
         if not conf.CHECK_LDFLAGS('-Wl,-z,noexecstack'):
-            raise Utils.WafError('--aes-accel=intelaesni selected and linker rejects -z noexecstack')
+            raise Utils.WafError('--accel-aes=intelaesni selected and linker rejects -z noexecstack')
 
 def build(bld):
     if not bld.CONFIG_SET('HAVE_AESNI_INTEL'):