summary refs log tree commit diff stats
path: root/compiler/cgen.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cgen.nim')
-rwxr-xr-xcompiler/cgen.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim
index eb3e58a98..d60f11639 100755
--- a/compiler/cgen.nim
+++ b/compiler/cgen.nim
@@ -574,8 +574,6 @@ proc deinitFrame(p: BProc): PRope =
 proc genProcAux(m: BModule, prc: PSym) =
   var p = newProc(prc, m)
   var header = genProcHeader(m, prc)
-  if gCmd != cmdCompileToLLVM and lfExportLib in prc.loc.flags: 
-    header = con("N_LIB_EXPORT ", header)
   var returnStmt: PRope = nil
   assert(prc.ast != nil)
   if sfPure notin prc.flags and prc.typ.sons[0] != nil: