View | Details | Raw Unified | Return to bug 1253
Collapse All | Expand All

(-)a/src/wscript (-2 / +2 lines)
 Lines 204-211    Link Here 
204
            # enable that flag for static builds only on x86-64 platforms
204
            # enable that flag for static builds only on x86-64 platforms
205
            # when gcc is present and only when we want python bindings
205
            # when gcc is present and only when we want python bindings
206
            # (it's more efficient to not use this option if we can avoid it)
206
            # (it's more efficient to not use this option if we can avoid it)
207
            cxxflags = ['-mcmodel=large']
207
            cxxflags = ['-fPIC']
208
            ccflags = ['-mcmodel=large']
208
            ccflags = ['-fPIC']
209
        cxxdefines = ["NS3_MODULE_COMPILATION"]
209
        cxxdefines = ["NS3_MODULE_COMPILATION"]
210
        ccdefines = ["NS3_MODULE_COMPILATION"]
210
        ccdefines = ["NS3_MODULE_COMPILATION"]
211
211

Return to bug 1253