[LON-CAPA-cvs] cvs: loncom /homework/caparesponse Makefile.PL

raeburn raeburn at source.lon-capa.org
Mon Apr 29 11:03:33 EDT 2024


raeburn		Mon Apr 29 15:03:33 2024 EDT

  Modified files:              
    /loncom/homework/caparesponse	Makefile.PL 
  Log:
  - Set optimization (O) to 1, when compiling capa_wrap.c and caparesponse.c
    to eliminate "FORTIFY_SOURCE requires compiling with optimization" warning,
  
  
Index: loncom/homework/caparesponse/Makefile.PL
diff -u loncom/homework/caparesponse/Makefile.PL:1.13 loncom/homework/caparesponse/Makefile.PL:1.14
--- loncom/homework/caparesponse/Makefile.PL:1.13	Mon Nov  2 21:34:08 2020
+++ loncom/homework/caparesponse/Makefile.PL	Mon Apr 29 15:03:33 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # makefile for capa wrapper
 #
-# $Id: Makefile.PL,v 1.13 2020/11/02 21:34:08 raeburn Exp $
+# $Id: Makefile.PL,v 1.14 2024/04/29 15:03:33 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -45,7 +45,7 @@
      'NAME' => 'capa',            # Name of your module
      'INC' => "-I$capadir/pProj",
      'LIBS' => ["-lfl"], # Custom libraries (if any)
-     'DEFINE' => '-g -O0 -D_GNU_SOURCE -DPERL_POLLUTE',
+     'DEFINE' => '-g -O1 -D_GNU_SOURCE -DPERL_POLLUTE',
      'dynamic_lib' => {
          OTHERLDFLAGS => '-Wl,--allow-multiple-definition',
       },




More information about the LON-CAPA-cvs mailing list